1.

What will be the output of the program? #include int main() { typedef int arr[5]; arr iarr = {1, 2, 3, 4, 5}; int i; for(i=0; i<4; i++) printf("%d,", iarr[i]); return 0; }

A. 1, 2, 3, 4
B. 1, 2, 3, 4, 5
C. No output
D. Error: Cannot use typedef with an array
Answer» B. 1, 2, 3, 4, 5


Discussion

No Comment Found