Advertisements
Advertisements
प्रश्न
How relational operators and logical operators are related to one another?
Advertisements
उत्तर
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
संबंधित प्रश्न
Which of the following is a valid string literal?
Which of the following is called compile-time operators?
Write the following real constant into the exponent form:
0.319
Assume n = 10; what will be result of n++ and --n;?
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 |
Differentiate “=” and “==”.
Write about Binary operators used in C++.
Consider the following C++ statement. Are they equivalent?
char ch = 67;
char ch = ‘C’;
What is the difference between 56L and 56?
What are arithmetic operators in C++? Differentiate unary and binary arithmetic operators. Give example for each of them.
