Consider the following program:
void fun1(void); /* prototype */
void fun2(void)...
![subject](/tpl/images/cats/informatica.png)
Computers and Technology, 03.03.2020 04:03 kylabreanne120
Consider the following program:
void fun1(void); /* prototype */
void fun2(void); /* prototype */
void fun3(void); /* prototype */
void main() {
int a, b, c;
...
}
void fun1(void) {
int b, c, d;
...
}
void fun2(void) {
int c, d, e;
...
}
void fun3(void) {
int d, e, f;
...
}
Given the following calling sequences and assuming that dynamic scoping is used, what variables are visible during the execution of the last subprogram activated? Include with each visible variable the name of the unit where it is declared.
1. main calls sub1; sub1 calls sub2; sub2 calls sub3.
2. main calls sub1; sub1 calls sub3.
3. main calls sub2; sub2 calls sub3; sub3 calls sub1.
4. main calls sub3; sub3 calls sub1.
5. main calls sub1; sub1 calls sub3; sub3 calls sub2.
![ansver](/tpl/images/cats/User.png)
Answers: 2
![](/tpl/images/ask_question.png)
![](/tpl/images/ask_question_mob.png)
Other questions on the subject: Computers and Technology
![image](/tpl/images/cats/informatica.png)
![image](/tpl/images/cats/informatica.png)
![image](/tpl/images/cats/informatica.png)
Computers and Technology, 24.06.2019 20:30, lowwlifelivv
Where is permanent data in the computer stored whenever gym starts his laptop he sees some commands in numbers appearing on the screen these instructions are being preceded by the control unit in
Answers: 1
![image](/tpl/images/cats/informatica.png)
Computers and Technology, 25.06.2019 04:00, anthonypacheco
What was the name of the first computer (machine) language?
Answers: 2
You know the right answer?
Questions in other subjects:
![Konu](/tpl/images/cats/fizika.png)
Physics, 15.10.2019 12:10
![Konu](/tpl/images/cats/fizika.png)
Physics, 15.10.2019 12:10
![Konu](/tpl/images/cats/biologiya.png)
![Konu](/tpl/images/cats/mat.png)
![Konu](/tpl/images/cats/health.png)
![Konu](/tpl/images/cats/biologiya.png)
Biology, 15.10.2019 12:10
![Konu](/tpl/images/cats/mat.png)
Mathematics, 15.10.2019 12:10
![Konu](/tpl/images/cats/mat.png)
Mathematics, 15.10.2019 12:10
![Konu](/tpl/images/cats/health.png)