in 1st printf no. of characters written are 3 and 4 and 3 4
is 0 which is equal to i
next 3 printf are easy...
now in last printf no. of characters written by 2 printf(s) are 3 and
3 and 3 3 is 3 which is printed by outer printf
On Jun 29, 7:40 pm, ashwini singh asingh...@gmail.com
I have read this link,still i am not getting.Can anybody help??
On 6/16/11, Kamakshii Aggarwal kamakshi...@gmail.com wrote:
I have read this link,still my not getting.Can anybody help??
On 6/15/11, Maksym Melnychok keym...@gmail.com wrote:
that's floating point for you.
I have read this link,still my not getting.Can anybody help??
On 6/15/11, Maksym Melnychok keym...@gmail.com wrote:
that's floating point for you.
http://en.wikipedia.org/wiki/Floating_point
--
You received this message because you are subscribed to the Google Groups
Algorithm Geeks group.
This is depending on the precission of floating point number representation
(IEEE double pression or single precission ) and how it is handled by the
compilers)
On Thu, Jun 16, 2011 at 8:50 PM, Kamakshii Aggarwal
kamakshi...@gmail.comwrote:
I have read this link,still i am not getting.Can
i have checked the code in broland 4.5..
i have changed some code and checked ...
int main()
{
*float a=275.6;*
printf(%.10f\n,a);//prints 275.7000122070 WHY???
if(275.7a)
printf(Hi);
else
printf(Hello);
return 0;
}
output is 275.661035
and also look at this one as well..
int main()
that's floating point for you.
http://en.wikipedia.org/wiki/Floating_point
--
You received this message because you are subscribed to the Google Groups
Algorithm Geeks group.
To view this discussion on the web visit
https://groups.google.com/d/msg/algogeeks/-/RcduUpABmi8J.
To post to this