Vidyalelo
C Programming · Q108

Pointer

Programming · C Programming · question 108

Q108

What will be the output of the following C code? #include void main() int x = 0; int *ptr = &5; printf("%p ", ptr);

A.
5
B.
Address of 5
C.
Nothing
D.
Compile time error
Answer

Answer: Option D

Solution

Answer: Option D
No explanation is given for this question Let's Discuss on Board