1.

What will be the output of the following C code?
#include <stdio.h>
struct Count
{
int m;
int n;
};
void fun(struct Count*);
int main()
{
struct Count c1[] = {14, 24, 34, 44, 54};
fun(c1);
}
void fun(struct Count c2[])
{
printf("%d %d n", c2->m, (c2 + 2).n);
}

A. 24
B. 34
C. 44
D. 54
E. Compilation Error
Answer» F.


Discussion

No Comment Found

Related MCQs