Question: How are the answers for those two question B and A when compiled in C? 4 #de fine SQUARE 1 / 2 5 #define CUBE

How are the answers for those two question B and A when compiled in C?

How are the answers for those two question B and A when

4 #de fine SQUARE 1 / 2 5 #define CUBE 1 / 3 7 int main () (o 9 int x=36; 10 int y 27 11 float result; 12 13 printf ("power 2 7 result #1: %1f ", pow (x, SQUARE )); 14 printf("power result #2: %1f ", pow (y, (float) 15 16 result = (float) pow(x, SQUARE) + pow (y, CUBE); 17 18 printf("power result #3:8.1f ", result); 19 20 return (0) 21 CUBE)); 10. Which of the following is the output generated by the first print statement in the program above? A. powe r result #1 : 6.0 power result #1: 1.0 C. powe r result #1: 0.0 D. None of the above. 11. Which of the following is the output generated by the second print statement in the program above? power result #2: 3.0 B. powe r result #2: 1.0 C. power result #2: 5.2 D. None of the above

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 Databases Questions!