

MCQOPTIONS
Saved Bookmarks
1. |
What will be the output of the following C code?#include <stdio.h> void fun(int*); int main() { int n = 14, *ptr = &n; fun(ptr++); } void fun(int *ptr) { printf("%d n", *ptr); } |
A. | 0.000000 |
B. | Compilation Error |
C. | 14.000000 |
D. | Runtime Error |
E. | None of these |
Answer» B. Compilation Error | |