Question
What will be the output of the following program :
#include<stdio.h>
void main()
{
float val=5.75;
int *ptr=&val;
printf("%.2f %.2f",*(float *)ptr,val);
}
What will be the output of the following program :
#include<stdio.h>
void main()
{
float val=5.75;
int *ptr=&val;
printf("%.2f %.2f",*(float *)ptr,val);
}
Answer: Option B
Submit Your Solution Below and Earn Points !
Submit Your Solution Below and Earn Points !
More Questions on This Topic :
Question 7.
In which header file is the NULL macro defin....
Submit Solution