done assignment no. 3 except Q.8 i have following problems
Q.5char to = 1,from = 2;
to++ = from++;
error is :lvalue required as left operand of assignment
Q.4
float f=0.1f;int i;
for(i=0;i<10;i++)
f=f+0.1f;
if(f==1.0f)
this if condition should be true as on printing the value of f using %f format specifier shows 1.000000.but in program it is taken as false.WHY????