Single Choice
Not Set
QWhat will be the output of the program?
#include
int main()
{
enum status {pass, fail, absent};
enum status stud1, stud2, stud3;
stud1 = pass;
stud2 = absent;
stud3 = fail;
printf("%d %d %d\n", stud1, stud2, stud3);
return 0;
}
ID: #2681
Union in C Language
1,721 views
Question Info
#2681Q 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
0, 2, 1
Continue Practice
Share
Share This Question
Challenge a friend or share with your study group.
More from This Topic