CIW
1D0-437 · Question #60
Consider that a file named test.txt contains this line of text: $file = "test.txt"; open (OUT, "<$file") || (die "cannot open $file: $!"); seek(OUT, 15, 0); read(OUT, $buffer, 5); print $buffer…
The correct answer is D. ttex. See the full explanation below for the reasoning.
Question
Consider that a file named test.txt contains this line of text:
$file = "test.txt"; open (OUT, "<$file") || (die "cannot open $file: $!"); seek(OUT, 15, 0); read(OUT, $buffer, 5); print $buffer . "\n"; print tell(OUT); One line of test text. What is the output of the following lines of code?
Options
- At text
- Bttex
- Ct text
- Dttex
How the community answered
(48 responses)- A4% (2)
- B17% (8)
- C6% (3)
- D73% (35)
Community Discussion
No community discussion yet for this question.