Question: Procedure A has static depth 3 and defines a variable which is visible in a nested subprocedure B . The nesting depth between procedure A

ProcedureAhas static depth 3 and defines a variable which is visible in a nested subprocedureB. The nesting depth between procedureAand procedureB is 1 (that is,Bis directly nested insideA). What is the static depth ofB?

3

1

4

2

is this option correct?

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!