Answers for Perl Online Test | Mock Test

←Go Back to Online Practice Test

Ques. The statement open (FH,"abc.txt");
Option 1. opens the file abc.txt for overwriting
Option 2. opens the file abc.txt for reading
Option 3. contains an error, so won't compile
Option 4. opens the file abc.txt for appending

Ans. Option 2

Please provide the reason below. The best provided reason will be displayed with your name(if you are logged-in) on website.
Enter Reason
 
Is it helpful? Yes No
©2022 WithoutBook