EC-Council
312-50V7 · Question #420
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
(19 responses)- A5% (1)
- B11% (2)
- C5% (1)
- D79% (15)
Community Discussion
No community discussion yet for this question.