Question: Consider a language that allows nested functions. Use the following stack contents to answer the following true/false questions. A) sub4 is nested/defined in sub1. TRUE/FALSE.
-
Consider a language that allows nested functions. Use the following stack contents to answer the following true/false questions. A) sub4 is nested/defined in sub1. TRUE/FALSE. Justify your answer.
B) sub2 has access to variables in main. TRUE/FALSE. Justify your answer.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
