R
Please help with the following code
void main(void)
(
float a = 1.1;
double b = 1.1;
if(i == d)
printf("\nHi\n");
else
printf("\nBye\n");
)
The above program outputs "Bye"... Why so??
I've printed both the values in all possible formats... and they are always 1.10000 in each case.... why then the result??
au revoir
Rahul
void main(void)
(
float a = 1.1;
double b = 1.1;
if(i == d)
printf("\nHi\n");
else
printf("\nBye\n");
)
The above program outputs "Bye"... Why so??
I've printed both the values in all possible formats... and they are always 1.10000 in each case.... why then the result??
au revoir
Rahul