Home / Questions / Which of the following operators is incorrect and why? ( >=,
Explanatory Question

Which of the following operators is incorrect and why? ( >=, <=, <>, ==)

👁 3,954 Views
📘 Detailed Answer
🕒 Easy to Read
Read the answer carefully and go through the related questions on the right side to improve your understanding of this topic.

Answer with Explanation

<> is incorrect. While this operator is correctly interpreted as "not equal to" in writing conditional statements, it is not the proper operator to be used in C programming. Instead, the operator != must be used to indicate "not equal to" condition.