Home / Programming MCQs / C Programming MCQs / Question

R

Ram Sharma • 188.81K Points
Coach

Q. What is the output of C Program?

Code:
int main()
 { 
int a[] = {1,2,3,4}; 
int b[4] = {5,6,7,8}; 
printf("%d,%d", a[0], b[0]);
 }
(A) 1,5
(B) 2,6
(C) 0 0
(D) Compiler error

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.