How relational operators and logical operators are related to one another?
Advertisements
Question
How relational operators and logical operators are related to one another?
Advertisements
Solution
Relational operators are used to determining the relationship between their operands. When the relational operators are applied on two operands, the result will be a boolean value 1 or 0 which represents True or False respectively which represents a logical operator.
APPEARS IN
RELATED QUESTIONS
Which of the following operator is an extraction operator in C++?
Which of the following is called compile-time operators?
What are keywords?
Write the following real constant into the exponent form:
0.00005
Match the following.
| A | B |
| (a) Modulus | (1) Tokens |
| (b) Separators | (2) Remainder of a division |
| (c) Stream extraction | (3) Punctuators |
| (d) Lexical Units | (4) get from |
Describe the differences between keywords and identifiers?
Is C++ case sensitive? What is meant by the term “case sensitive”?
Differentiate “=” and “==”.
Determine which of the following are valid constant? And specify their type.
‘Name’
Determine which of the following are valid constant? And specify their type.
‘\t’
