Sail E0 Webinar
Question


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;
}
Options:
A .  1
B .  -1
C .  0
D .  Error
Answer: Option B

No answer description available for this question. 



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers