True/False
To check if a variable has a particular value, use the = relational operator, as in the statement
if (s = 3)
cout << "S has the value 3";
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
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
Q30: Assuming moreData is a Boolean variable, the
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
Q36: What will the following statement do if