Vidyalelo
C Programming · Q40

Pointer

Programming · C Programming · question 40

Q40

What will be the output of the following program code? #include void main() int i = 10; void *p = &i; printf("%f", *(float *)p);

A.
Error
B.
10
C.
0.000000
Answer
D.
None of these.

Answer: Option C

Solution

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