Int main(){ int x = 4,*y; y = &x;(*y)++; printf("%d",*y); return 0; }
Answers
Answered by
4
Answer:
5
Explanation:
y is a pointer variable that stores address of x.
*y points to value stored at the address stored by y.
Therefore, *y=4
And *y++ increments *y by 1 and hence it becomes 5.
Answered by
0
Answer:
5
Explanation:
y is a pointer variable that stores the address of x.
*y points to value stored at the address, stored by y.
Therefore, *y=4
And *y++ means increment of *y by 1
Hence it becomes 5.
#SPJ3
Similar questions