Examveda
Examveda

What will be the output of the following C code?
#include <stdio.h>
void main()
{
    int a[3] = {1, 2, 3};
    int *p = a;
    int **r = &p;
    printf("%p %p", *r, a);
}

A. Different address is printed

B. 1 2

C. Same address is printed

D. 1 1

Answer: Option C


This Question Belongs to C Program >> Pointer

Join The Discussion

Related Questions on Pointer