What will be the output of the following C code? [code] #include <stdio.h> int main() { int ary[2][3][4], j = 20;

Giao Linh

New member
What will be the output of the following C code?
Code:
    #include <stdio.h>
    int main()
    {
        int ary[2][3][4], j = 20;
        ary[0][0] = &j;
        printf("%d\n", *ary[0][0]);
    }
A. Compile time error
B. 20
C. Address of j
D. Undefined behaviour
 

Tìm kiếm

Back
Top