Sail E0 Webinar
Question

Point out the error in the program in 16-bit platform?


#include<stdio.h>
int main()
{
struct bits
{
int i:40;
}bit;
printf("%d\n" , sizeof(bit));
return 0;
}
Options:
A .  4
B .  2
C .  Error: Bit field too large
D .  Error: Invalid member access in structure
Answer: Option C

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