Single Choice
Not Set
QWhat will be the output of the program?
#include"stdio.h"
int main()
{
union var
{
int a, b;
};
union var v;
v.a=10;
v.b=20;
printf("%d\n", v.a);
return 0;
}
ID: #2677
Union in C Language
2,040 views
Question Info
#2677Q ID
Not SetDifficulty
Union in C LanguageTopic
Your Answer
Choose the Best Option
Click any option to instantly check if you're correct.
Correct Answer
Explanation
20
Continue Practice
Share
Share This Question
Challenge a friend or share with your study group.
More from This Topic