MCQOPTIONS
Saved Bookmarks
| 1. |
What will be the output of the following C code?#include <stdio.h> typedef struct B { int n1, n2; }; int main() { B k = {10, 20}; printf("%d n", k.n1); } |
| A. | 10 |
| B. | 20 |
| C. | Compilation Error |
| D. | Undefined behaviour |
| E. | None of these |
| Answer» D. Undefined behaviour | |