Home » C Programming » Pointers » Question
  1. What will be the output of the following C code?
     #include <stdio.h>
    int main()
    {
    int m = 20, n = 22;
    int *Array[] = {&m, &n};
    printf("%d", *Array[0]);
    return 0;
    }
    1. 22
    2. Compilation Error
    3. Undefined behaviour
    4. 20
    5. Garbage value
Correct Option: D

20



Your comments will be displayed only after manual approval.