Which of these is a relational operator?
Correct answer
B. >
12 views
B. >
12 views
> compares two values and returns true or false. + is arithmetic, && is logical, and = is assignment. Relational operators are used in conditions.
Asked in: Matric,FBISE
Not sure why the answer is B? Ask here and get an explanation.