C++ Syntax Question:

Download Job Interview Questions and Answers PDF

What relational operators if statements in C++?

Basic C++ Syntax Interview Question
Basic C++ Syntax Interview Question

Answer:

Here are the relational operators, as they are known, along with examples:
> greater than 5 > 4 is TRUE
< less than 4 < 5 is TRUE
>= greater than or equal 4 >= 4 is TRUE
<= less than or equal 3 <= 4 is TRUE
== equal to 5 == 5 is TRUE
!= not equal to 5 != 4 is TRUE

Download Basic C++ Syntax Interview Questions And Answers PDF

Previous QuestionNext Question
How to demonstrate the use of a variable?What is basic if statement syntax?