1.

What will be the output of the following C code? #include <stdio.h> struct output { int n1; int n2; }; int main() { struct output out[] = {11, 21, 13, 41, 15, 61}; struct output *ptr1 = out; printf("%d %d n", ptr1->n1, (ptr1 + 2)->n1); }

A. Compilation Error
B. 11 21
C. 13 41
D. 11 15
E. None of these
Answer» E. None of these


Discussion

No Comment Found

Related MCQs