Examveda
Examveda

What will be the output of the following C code?
#include <stdio.h>
void main()
{
    int x = 0;
    int *ptr = &5;
    printf("%p\n", ptr);
}

A. 5

B. Address of 5

C. Nothing

D. Compile time error

Answer: Option D


This Question Belongs to C Program >> Pointer

Join The Discussion

Related Questions on Pointer