Consider the following declaration: int a, *b=&a, **c=&b; The following…

ISRO Scientist/Engineer SC 2015

Consider the following declaration:

int a, *b=&a, **c=&b;

The following program fragment

a=4;
**c=5;
  1. A.

    does not change the value of a

  2. B.

    assigns address of c to a

  3. C.

    assigns the value of b to a

  4. D.

    assigns 5 to a

Attempted by 1040 students.

Sign up free to check your answer

Sign up free

Explore the full course: Gate Guidance By Sanchit Sir

Loading lesson…