C - Structures,Unions - Discussion

You Are Here :: Home > C > Structures,Unions - Discussion

 



Q.

What is the output of this C code?

#include
typedef struct student
{
char *a;
}stu;
void main()
{
stu s;
s.a = "bye";
printf("%s", s.a);
}s

A. Compile time error B. Varies
C. bye D. bye bye

Answer: Option A
Explaination:

No Explanation



Discussion

Your Comments Goes here...
NameDiscussion