1.

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);
}

A. Same memory address is printed
B. 10, 20
C. 40, 50
D. Different memory address is printed
E. None of these
Answer» E. None of these


Discussion

No Comment Found