Page 1 of 1

4. Take a look at the code snippet below. What will be the final values of ‘c’, ‘a’, and ‘*p’. int c, a = 10; int *p =

Posted: Sat Feb 19, 2022 3:20 pm
by answerhappygod
4. Take a look at the code snippet below. What
will be the final values of ‘c’,
‘a’, and ‘*p’.
int c, a = 10;
int *p = &a;
c =
*p;
*p = *p * *p;
(*p)++;
c = *&a;