Sail E0 Webinar
Question
What will be the output of the following program code?
#include
void main()
{
int i = 10;
void *p = &i;
printf("%f", *(float *)p);
}
Options:
A .  Error
B .  10
C .  0.000000
D .  None of these.
Answer: Option C

Submit Your Solution Below and Earn Points !
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers