Choose one of the following pseudo codes to describe this statement…

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.”

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.”

A.
If (I > 200) then exit (1)

B.
If (I < 200) then exit (1)

C.
If (I <= 200) then exit (1)

D.
If (I >= 200) then exit (1)



Leave a Reply 3

Your email address will not be published. Required fields are marked *


Q 

Q 

The answer should be based on the initial value of i and the incremental value.
In the begining, if I=0, the answer is D; if 1, A.