MCQOPTIONS
Saved Bookmarks
| 1. |
What will be the output of the following C code? #include <stdio.h> struct Option { int a; int b; }; void fun(struct Option*); int main() { struct Option opt1[] = {13, 23, 33, 43}; fun(opt1); } void fun(struct Option opt2[]) { printf("%d n", opt2[1].a); } |
| A. | 13 |
| B. | 23 |
| C. | 33 |
| D. | 43 |
| E. | None of these |
| Answer» D. 43 | |