Answer the following statements true (T) or false (F)

1. The value of count is 0; limit is 10. Evaluate:
count == 0 && limit < 20
2. The value of count is 0; limit is 10. Evaluate:
(count != 0)||(limit < 20)
3. In a while loop, the Boolean_Expression is executed before each execution of the
loop body.
4. In a do-while loop, a continue statement terminates the loop.
5. A break statement is used in loops only.

1. true
2. true
3. true
4. False
5. False.

Computer Science & Information Technology

You might also like to view...

Write the command that will deallocate the memory cells pointed to by pointer aPointer, so that they can be used again.

What will be an ideal response?

Computer Science & Information Technology

Answer the following statements true (T) or false (F)

1. It is legal to assign C-string variables. 2. The = sign used to give a variable an initial value in a definition, ``` char ch = ‘A’; ``` is different from the = sign in an assignment. ``` ch = ‘B’; ``` 3. The C-string library functions use the null terminator to decide when to stop processing. 4. The C-string library functions are safe and require no special care. 5. The C-string library function strcmp compares two strings for equal length.

Computer Science & Information Technology