1.

What will be the output of the following C code?
#include <stdio.h>
struct Employee
{
char name[20];
};
void main()
{
struct Employee emp[] = {"AJIT", "KUMAR"};
printf("%c", emp[0].name[1]);
}

A. A
B. J
C. I
D. K
E. None of these
Answer» C. I


Discussion

No Comment Found

Related MCQs