- Structures, Unions, Enums - General Questions
- Structures, Unions, Enums - Find Output of Program
- Structures, Unions, Enums - Point Out Errors
- Structures, Unions, Enums - Point Out Correct Statements
- Structures, Unions, Enums - True / False Questions
- Structures, Unions, Enums - Yes / No Questions


Structures, Unions, Enums - Programming
Q1: What will be the output of the program ?
#include<stdio.h>
int main()
{
struct byte
{
int one:1;
};
struct byte var = {1};
printf('%d\n', var.one);
return 0;
}
A 1
B -1
C 0
D Error
ANS:A - 1 No answer description is available. Let's discuss. |


For help Students Orientation
Mcqs Questions
One stop destination for examination, preparation, recruitment, and more. Specially designed online test to solve all your preparation worries. Go wherever you want to and practice whenever you want, using the online test platform.