Q. What is the output of C program with arrays.?
Code:
int main()
{
char grade={'A','B','C'};
printf("%c", grade[0]);
}
β
Correct Answer: (D)
Compiler error
int main()
{
char grade={'A','B','C'};
printf("%c", grade[0]);
}
You must be Logged in to update hint/solution