Q. What is the output of C program with structures?
Code:
int main()
{
structure hotel
{
int items;
char name[10];
}a;
strcpy(a.name, "TAJ");
a.items=10;
printf("%s", a.name);
return 0;
}
β
Correct Answer: (C)
Compiler error