Question: 1. Given the following C statements: printf(10.10 = %.151f , 10.10); printf(10.12 = %.151f , 10.12); printf(10.15 = %.151f , 10.15); Briefly explain why
1. Given the following C statements: printf("10.10 = %.151f ", 10.10); printf("10.12 = %.151f ", 10.12); printf("10.15 = %.151f ", 10.15); Briefly explain why 10.12 doesn't display the value expected?
Step by Step Solution
There are 3 Steps involved in it
The issue with the second printf statement which displays the value of 1012 is related to the format ... View full answer
Get step-by-step solutions from verified subject matter experts
