C
chump1708
main()
{
int i;
float *pf;
pf = (float *)&i;
*pf = 100.00;
printf("n %d", i); //line 5
}
why is the output "n 0" or for that matter if I use %f in line 5, why
is the output not 100.00??
{
int i;
float *pf;
pf = (float *)&i;
*pf = 100.00;
printf("n %d", i); //line 5
}
why is the output "n 0" or for that matter if I use %f in line 5, why
is the output not 100.00??