1.

What will be the output of the following C code?
#include <stdio.h>
struct color
{
int color_code;
char color_name[20];
};
void main()
{
color c;
c.color_name = "Yellow";
printf("Yellow");
}

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


Discussion

No Comment Found