Google News
logo
Perl - Quiz(MCQ)
Is the goto statement in Perl used to ______.
A)
Iterate over statements
B)
Create an entry point in program
C)
Jump from anywhere to anywhere within the block
D)
None of the above

Correct Answer :   Jump from anywhere to anywhere within the block


Explanation : The goto statement in Perl is used to jump from anywhere to anywhere with the block of code.

Advertisement