True/False
Assuming moreData is a Boolean variable, the following two tests are logically equivalent.
if (moreData == True)
if (moreData)
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q25: If s1 and s2 are string objects,
Q26: A switch statement branches to a particular
Q27: The _ statement executes one statement, or
Q28: The following statements will not print anything.<br>x
Q29: An expression in a C++ if statement
Q31: To check if a variable has a
Q32: All of the relational operators are binary.
Q33: The expression x < y is called
Q34: The default section of a switch statement
Q35: The _ statement acts like a chain