1.

What will be the output of the following C code? #include &l;stdio.h> struct Price { int m; int n; }; void fun(struct Price*); int main() { struct Price p1[] = {105, 210, 310, 49, 59}; fun(p1); } void fun(struct Price p[]) { printf("%d %d n", p->m, p[3].n); }

A. Garbage value
B. Compilation Error
C. 105 0
D. Nothing
E. None of these
Answer» D. Nothing


Discussion

No Comment Found

Related MCQs