InterviewSolution
Saved Bookmarks
| 1. |
What Does The Format %10.2 Mean When Included In A Printf Statement ? |
|
Answer» It indicates the decimal NUMBER with 2 decimal PLACES after the decimal point and 10 decimal places before the the decimal point to REPRESENT the actual value.If the decimal number has less than the number of the decimal digits, it will be filled with 0 upto 10 where 0 will not be printed. It indicates the decimal number with 2 decimal places after the decimal point and 10 decimal places before the the decimal point to represent the actual value.If the decimal number has less than the number of the decimal digits, it will be filled with 0 upto 10 where 0 will not be printed. |
|