MCQOPTIONS
Saved Bookmarks
| 1. |
What will be the output of the following C code?#include <stdio.h> void first(int (*p)(int)); int second(int); int (*funptr)(int); int ((*fun(int)))(int); int main() { funptr = fun(0); funptr(15); } int ((*fun(int k)))(int) { return second; } int second(int k) { printf("%d n", k + 1); } |
| A. | 15 |
| B. | Compilation Error |
| C. | Undefined behaviour |
| D. | 16 |
| E. | None of these |
| Answer» E. None of these | |