Page 1 of 1

Select the right explanation to the given code. printf(“%*. *f”, 5,4,5700);

Posted: Wed Jul 13, 2022 7:54 pm
by answerhappygod
a) the minimum field width has to be 4, the precision is given to be 5, and the value to be displayed is 5700
b) the minimum field width is 5, the precision is 4, and the value to be displayed is 5700
c) compile error
d) run-time error