Question
What will be the output of the following program code?
#include
void main()
{
int i = 10;
void *p = &i;
printf("%f", *(float *)p);
}
#include
void main()
{
int i = 10;
void *p = &i;
printf("%f", *(float *)p);
}
Answer: Option C
Submit Your Solution Below and Earn Points !
Submit Your Solution Below and Earn Points !
More Questions on This Topic :
Question 2. The operator > and....
Question 3. The declaration
int (*p) [5];
means....
Question 4. Comment on the following?
const int *ptr;....
Submit Solution