-
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);
}
-
- 51, 51, Garbage value
- Garbage value, Garbage value, Garbage value
- 51, 51, 51
- Compilation Error
- None of these
Correct Option: C
51, 51, 51