β
Correct Answer: (D)
the global variable is shadowed
Explanation: if a local variable exists with the same name as the local variable that you want to access, then the global variable is shadowed. that is, preference is given to the local variable.
Explanation by: Mr. Dubey
if a local variable exists with the same name as the local variable that you want to access, then the global variable is shadowed. that is, preference is given to the local variable.
Discussion
Question Analytics
958
Total Visits
3 y ago
Published
Mr. Dubey
Publisher
84%
Success Rate