Q:

What will be the output of the following program:

0

What will be the output of the following program:

void main()
{
int k = 5;
int *p = &k;
int **m = &p;
**m = 6;
printf("%d\n", k);
}

  1. 4
  2. 7
  3. 6
  4. Compilation error

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

Correct Answer:

6

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Similar questions


need a help?


find thousands of online teachers now
Guess the output... >>
<< Predict the Output of the following code:...