How relational operators and logical operators are related to one another?
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 called compile-time operators?
Can keywords be used as identifiers?
The following constant is of which type?
032
The following constant is of which type?
04.14
Write the following real constant into the exponent form:
23.197
Write the following real constant into the exponent form:
7.214
Write the following real constant into the exponent form:
0.00005
Assume n = 10; what will be result of n++ and --n;?
Consider the following C++ statement. Are they equivalent?
char ch = 67;
char ch = ‘C’;
Determine which of the following are valid constant? And specify their type.
0.5
