Google News
logo
Perl - Quiz(MCQ)
Global scope variables can be used :
A)
Inside a specific block
B)
Inside any function or block
C)
Inside a specific function
D)
None of the above

Correct Answer :   Inside any function or block


Explanation : Global scoped variable is declared outside all blocks of code. The scope of this variable inside any function or block.

Advertisement