Vidyalelo
C Programming · Q143

Pointer

Programming · C Programming · question 143

Q143

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

A.
Address of x
B.
Junk value
C.
0
Answer
D.
Run time error

Answer: Option C

Solution

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