1)
getchar must be a function in that case . Check /usr/include/stdio.h . It 
must have contained an extern definition (it is on my machine).

2)
Machines generally have separate registers for floating point values(let say 
%fr). While executing this line *printf("%d\n",t); *that register is loaded 
with the value of* "t" *but this call to printf will not access it because 
of* "%d" *specifier* . *Since then the value in this register has not been 
replaced, therefore call to printf with* "%f" *specifier will access* %fr 
*register 
and print its value.*
*

-- 
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/-/c88zZWRmRvIJ.
To post to this group, send email to algogeeks@googlegroups.com.
To unsubscribe from this group, send email to 
algogeeks+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to