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

What will be the output of the following C code?
Code:
    #include <stdio.h>
    int main()
    {
        int ary[2][3];
        ary[][] = {{1, 2, 3}, {4, 5, 6}};
        printf("%d\n", ary[1][0]);
    }
A. Compile time error
B. 4
C. 1
D. 2
 

Tìm kiếm

Back
Top