CBSE BOARD X, asked by 19daniel22, 1 year ago

In 1–2 sentences describe the purpose of comparison operators and give an example.

Answers

Answered by ChankitSaini
7
Hey mate here's the answer..

Comparison operators are used to compare between objects!
are they equal?  is one greater than the other?

if (a == b) ++a;
if (a > b) a = b;

for example when we use a sort function, comparison operators are used inside the function.
Answered by inl9593
0

Answer:

ythis fsdlkfj

Explanation:

sdafsgojgsdiof

Similar questions