What is the output when the following segment of 'C' code is executed?
What is the output when the following segment of 'C' code is executed?
void main(){
float a = 123.456;
printf("%7.2f, %7.3f, %12e", a, a, a);
}
Show answerHide answer
Correct answer: (B) 123.46, 123.456, 1.234560e+02