1.

What will be the output of the following C code?
#include <stdio.h>
void main()
{
int Array[2][3] = {11, 21, 31, , 41, 51};
int k = 0, L = 0;
for (k = 0; k < 2; k++)
for (L = 0; L < 3; L++)
printf("%d", Array[k][L]);
}

A. 11 21 31 Garbage value 41 51
B. 11 21 31 41 15
C. Compilation Error
D. Runtime Error
E. None of these
Answer» D. Runtime Error


Discussion

No Comment Found