the following program does not give any output supposedly becoz a double const is being assigned to a float variable....i dont quiet understand by what is meant by this...the program goes like this....
void main( )
{
float x=1.1;
while(x==1.1)
{
printf("\n %f",x);
x=x-.1;
}
getch( );
}
why isnt the program giving any output?
void main( )
{
float x=1.1;
while(x==1.1)
{
printf("\n %f",x);
x=x-.1;
}
getch( );
}
why isnt the program giving any output?
Comment