What is the difference between != and<> operators even though they represent Not equal? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 5

What is the difference between != and<> operators even though they represent Not equal?

3rd Apr 2017, 2:52 PM
Aditya Raj
Aditya Raj - avatar
3 Answers
+ 5
Yeah now I understand that they represent the same but their use at places is different.
3rd Apr 2017, 2:54 PM
Aditya Raj
Aditya Raj - avatar
3rd Apr 2017, 4:21 PM
Ani Naslyan
Ani Naslyan - avatar
0
Well no because > will be anything less than x whereas != would be anything but x
12th Jun 2017, 2:31 PM
Max Penford
Max Penford - avatar