1.

Point out the error in the program?

#include<stdio.h> int main()
{ struct bits { float f:2; }bit; printf("%d n", sizeof(bit)); return 0;
}

A. 4
B. 2
C. Error: cannot set bit field for
D. <i class="C-code">float</i>
E. Error: Invalid member access in structure
Answer» D. <i class="C-code">float</i>


Discussion

No Comment Found