

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