+ 2

What does it mean true false in the relational operators in c++? What is its functions?

27th Sep 2017, 8:55 AM
[No Name]
4 Respuestas
+ 17
Examples 1. ==(comparison or equality) 6==5 result 0 i.e. false 2.< (less than) 6<5 result 0 and 5<6 result 1 i.e.true 3.<= less than or equal to 4.> greater than 5. >= greater than or equal to 6. != not equal to
27th Sep 2017, 9:38 AM
Surbhi
Surbhi - avatar
+ 13
Relational operators refers to the relationship that values or operands can have with one another. C++ provide six relational operators for comparing numbers and characters. But they don't work with strings. If the comparison is true the relational expression result into 1 and 0 when it is false.
27th Sep 2017, 9:38 AM
Surbhi
Surbhi - avatar
+ 2
Does "==" operator means equal to?
27th Sep 2017, 9:55 AM
[No Name]