Question: IV (20 points) For the program below, state what value(s) are displayed to the console when each prim executed in sequence from A to E.

IV (20 points) For the program below, state what value(s) are displayed to the console when each prim executed in sequence from A to E. Write your answers in the boxes. #include int w = 7: void fun(int a, int b) ( a = 99; printf("C1 9d %d %d\ \ ", a, b, w); ) int main(void) ( int x = 5, y = 1; printf("A: %d %d %d\ \ ", x, y, w); x=y *2; int y = 3; printf("B: %d %d %d\ \ ", x, y, w); w = 10; fun(x, y); int w = 42; printf("D: %d %d %d\ \ ", x, y, w); tf("E: %d %d %d\ ", x, y, w); n 0; 3 Output displaye (4 write numbers bele A: C: D: E

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!