User Profile
Collapse
-
actually i typed it wrongly, the value assigned to a is 0.7, then there is a mismatch. Kindly let me know.... -
Steering the control
Can anyone please tell me that how the control flows in the following code and what will be its output?
[CODE=c]main()
{
int fun(int);
int i=3;
fun(i=fun(fun(i )));
printf("%d",i);
}
fun(int)
{
i++;
return(i);
}[/CODE] -
-
storing a float value
I would like to know that why float datayppe never stores exact value that is assigned to them?
for eg-> A piece of code
main()
{
float a=.07;
if (a<0.7)
printf("mismatc h");
else
printf("C is precise");
}
Output: mismatch
No activity results to display
Show More
Leave a comment: