Solved

Case 4-1 Brian Is Trying His Best to Understand the Concept of Concept

Question 89

Multiple Choice

Case 4-1
Brian is trying his best to understand the concept of variable scope, so he calls his friend Molly for guidance.
-Brian has defined another variable called strNumberOfSingers within a procedure,and he asks Molly what the lifetime of that variable is.What does she tell him?


A) It is "alive" for the entire duration of the program.
B) It is "alive" with the same contents during all executions of the procedure by the program.
C) It is "alive" until the procedure is called by the larger program.
D) It is "alive" from the time the procedure begins executing until the procedure ends.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions