MCQOPTIONS
Saved Bookmarks
| 1. |
What is the output of this C code? #include struct { int k; char c; } p; int p = 10; int main() { p.k = 10; printf("%d %d\n", p.k, p); } |
| A. | Compile time error |
| B. | 10 10 |
| C. | Depends on the standard |
| D. | Depends on the compiler |
| Answer» B. 10 10 | |