Question discussion

What is the output of the following C code? int a = 4, b = 7; int *p = &a; int **q = &p; *p = b; printf("%d", a);

351Medium DSSSB TGT Computer Science 0 replies 1 views
0
What is the output of the following C code? int a = 4, b = 7; int *p = &a; int **q = &p; *p = b; printf("%d", a);
  • A4
  • B7
  • CThe address of b
  • DCompilation error
Correct answer: B

Discussion 0

Nobody has replied yet. Start the discussion!