Python_Institute
PCAP-31-03 · Question #46
If S is a stream open for reading, what do you expect from the following invocation?
The correct answer is B. the whole file content will be read and stored in the string called C. See the full explanation below for the reasoning.
Question
If S is a stream open for reading, what do you expect from the following invocation?
Options
- Aone line of the file will be read and stored in the string called C
- Bthe whole file content will be read and stored in the string called C
- Cone character will be read and stored in the string called C
- Done disk sector (512 bytes) will be read and stored in the string called C
How the community answered
(38 responses)- A3% (1)
- B76% (29)
- C8% (3)
- D13% (5)
Community Discussion
No community discussion yet for this question.