Slideshow

Monday 25 February 2013


Q.6 Consider the following declaration
int a, *b = &a, **c = &b;
The following program fragment
a = 4;
**c = 5;
(A) does not change the value of a (B) assigns address of c to a
(C) assigns the value of b to a (D) assigns 5 to a


Ans: D
The given statements assigns 5 to a

No comments:

Post a Comment