EC-Council
EC0-350 · Question #27
Choose one of the following pseudo codes to describe this statement: "If we have written 200 characters to the buffer variable, the stack should stop because it cannot hold any more data."
The correct answer is D. If (I >= 200) then exit (1). See the full explanation below for the reasoning.
Question
Choose one of the following pseudo codes to describe this statement:
"If we have written 200 characters to the buffer variable, the stack should stop because it cannot hold any more data."
Options
- AIf (I > 200) then exit (1)
- BIf (I < 200) then exit (1)
- CIf (I <= 200) then exit (1)
- DIf (I >= 200) then exit (1)
How the community answered
(62 responses)- A3% (2)
- B15% (9)
- C8% (5)
- D74% (46)
Community Discussion
No community discussion yet for this question.