11. What would the output of the following C program be? int A - 2.5; float B-3.6; printf("%f %f\n",B,round(A)): ○ 3.6, 2.0 O 3.6, 2.5 O 3,2 O 4.0.2

C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter12: Points, Classes, Virtual Functions And Abstract Classes
Section: Chapter Questions
Problem 8SA
icon
Related questions
Question
11. What would the output of the following C program be?
int A = 2.5;
float B = 3.6;
printf("%f %f\n",B.round(A));
O 3.6, 2.0
3.6, 2.5
O
O 3,2
O 4.0.2
Transcribed Image Text:11. What would the output of the following C program be? int A = 2.5; float B = 3.6; printf("%f %f\n",B.round(A)); O 3.6, 2.0 3.6, 2.5 O O 3,2 O 4.0.2
Expert Solution
steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning