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

C Programming Language >   Operators and Enums in C Language >   Conditional Operator in C  

Short Question

4071


Answer:

<> 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.


This Particular section is dedicated to Question & Answer only. If you want learn more about C Programming Language. Then you can visit below links to get more depth on this subject.




Join Our telegram group to ask Questions

Click below button to join our groups.