Question: printf(10.10 = %.15lf , 10.10); printf(10.12 = %.15lf , 10.12); printf(10.15 = %.15lf , 10.15); Briefly explain why 10.12 doesn't display the value expected?

printf("10.10 = %.15lf ", 10.10);

printf("10.12 = %.15lf ", 10.12);

printf("10.15 = %.15lf ", 10.15);

Briefly explain why 10.12 doesn't display the value expected?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!