

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