Multiple choice

Which operator is used to denote 'not equal to'?

  1. <>

  2. ##

  3. !=

  4. :=

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

The operator != is the standard comparison operator in C++ and many other languages to check if two values are not equal.