Hi All,
Can someone tell me the format specifier to be used in the printf statement for printing values of double datatype? For eg. "%d" is used for int and "%f" for float. Similarly what should be used for double data type?
Thanks,
Babu
Hi All,
Can someone tell me the format specifier to be used in the printf statement for printing values of double datatype? For eg. "%d" is used for int and "%f" for float. Similarly what should be used for double data type?
Thanks,
Babu
You asked the same question 2 days ago, and told where to look to read all about it.
http://cboard.cprogramming.com/showthread.php?t=91141
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.