Computer Science, asked by Krishnalahari754, 5 months ago

discuss about nested subprograms with examples​

Answers

Answered by shivaramcvm
0

The use of nested subprograms does effect the scope of variables. In this program, an integer n is declared within scope. Its lifespan is the entire program, except anywhere where n is declared as a local variable – in this case the function B().

pls mark as brainlist...

Similar questions