-
What will be the output of the following C code?
#include <stdio.h>
void main()
{
int n[5] = {10, 20, 30, 40, 50};
int *p1 = n;
int **p2 = &p1;
printf("%p %p", *p1, n);
}
-
- Same memory address is printed
- 10, 20
- 40, 50
- Different memory address is printed
- None of these
Correct Option: D
Different memory address is printed