CIW
1D0-437 · Question #79
Consider the following statement: $buffer = a string; Also consider that a file named test.txt contains the following line of text: $file = "test.txt"; open (OUT, "<$file") || (die "cannot open…
The correct answer is B. astOne line of tes. See the full explanation below for the reasoning.
Question
Consider the following statement:
$buffer = a string; Also consider that a file named test.txt contains the following line of text:
$file = "test.txt"; open (OUT, "<$file") || (die "cannot open $file: $!"); read(OUT, $buffer, 15, 4); print $buffer; One line of test text.What is the output of the following lines of code?
Options
- AastrOne line of test
- BastOne line of tes
- CastrOne line of tes
- DastOne line of test
How the community answered
(53 responses)- A4% (2)
- B72% (38)
- C17% (9)
- D8% (4)
Community Discussion
No community discussion yet for this question.