MCQOPTIONS
Saved Bookmarks
| 1. |
What will be the output of the following C code? #include typedef struct p { int x, y; }; int main() { p k1 = {1, 2}; printf("%d n", k1.x); } |
| A. | Compile time error |
| B. | 1 |
| C. | Depends on the standard |
| Answer» B. 1 | |