MCQOPTIONS
Saved Bookmarks
| 1. |
What is the output of this C code(according to C99 standard)? #include struct p { int k; char c; float f; }; int main() { struct p x = {.c = 97, .f = 3, .k = 1}; printf("%f\n", x.f); } |
| A. | 3.000000 |
| B. | Compile time error |
| C. | Undefined behaviour |
| D. | 1.000000 |
| Answer» B. Compile time error | |