-
What will be the output of the following C code?
#include <stdio.h>
void main()
{
int var[4] = {11, 21, 31, 41};
int *ptr1 = var;
int **ptr2 = &ptr1;
printf("%p %p", *ptr2, var);
}
-
- Same memory address is printed.
- Different memory address is printed.
- 11, 21, 31, 41
- 41, 31
- None of these
Correct Option: A
Same memory address is printed.