ISRO Computer Science (CSE) 2015 - Question 72

All ISRO Computer Science (CSE) papers | ISRO Computer Science (CSE) 2015

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

Answer: D. assigns 5 to a

Explanation: **C dereferences to a.

| | All questions of ISRO Computer Science (CSE) 2015