1.

What will be the output of the following C code?
#include 
void f(int n[5][])
{
n[0][4] = 11;
int k = 0, L = 0;
for (k = 0; k < 4; k++)
for (L = 0; L < 5; L++)
printf("%d", n[k][L]);
}
void main()
{
int n[4][5] = {0};
f(n);
}

A. Garbage value Garbage value 11 Garbage value Garbage value
B. Only garbage value
C. Runtime Error
D. 11
E. Compilation Error
Answer» F.


Discussion

No Comment Found