Question: #include int apple - 200; int pear - 300; int lemon = 400; static void third (void) apple += 10; pear += 20; lemon +=

 #include int apple - 200; int pear - 300; int lemon= 400; static void third (void) apple += 10; pear += 20;

#include int apple - 200; int pear - 300; int lemon = 400; static void third (void) apple += 10; pear += 20; lemon += 30; printf("third: apple - $d pear - $d lemon = $d ", apple, pear, lemon); } static void second(int pear) int lemon = 2000; pear +- 30; lemon + 50; third(); printf("second: apple = $d pear = $d lemon = $d ", apple, pear, lemon); } static void first (int apple) second (200); apple +- 10; printf("first: apple = $d pear = $d lemon = 4d ", apple, pear, lemon); } int main(int arge, char *argv[]) { first (500); printf("main: apple - d pear return 0; d lemon - *d ", apple, pear, lemon); In fake C with dynamic scope, the fourth line printed by scope.c is: main: apple pear lemon

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!