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

16



Your comments will be displayed only after manual approval.