Home » C Programming » Pointers » Question
  1. What will be the output of the following C code?
    #include <stdio.h>
    void main()
    {
    int t = 12;
    int *q1 = &t;
    int **q2 = &q1;
    **q2 = 13;
    printf("%d\n", t);
    }
    1. Compilation Error
    2. 12
    3. 13
    4. Garbage value
    5. None of these
Correct Option: C

13



Your comments will be displayed only after manual approval.