Computer Science, asked by manoramant, 7 months ago

which one of the following is equal to operator 1) =! 2) equal 3)== 4) =​

Answers

Answered by anindyaadhikari13
3

Question:

Which one of the following is equal to operator?

  • =!
  • equal
  • ==
  • =

Answer:

  • Here, == is the equal to operator. Option (3) is the right answer for the question.
  • Equal to operator is used to check whether two values like numbers are equal or not.
  • It returns either true or false depending on the condition.
  • Example: 2 == 2 returns true, 2 == 3 returns false.

Explanation:

Now, let's know why other options are incorrect.

  • Option (1) is incorrect as no such operator exists.
  • Option (2) is incorrect as operators are generally denoted by symbols and not letters.
  • Option (3) is correct as it is the operator used to check equality.
  • Option (4) is incorrect as this operator is used to assign some values to variable.

Hence, we conclude that option (3) is right answer for the question.

Answered by Anonymous
0

Option 3 is correct, "==" is the equal to operator.

  • Option 1 is incorrect because the given operator is a "not equal to" operator which is used when we want to specify that a particular value is not equal to something else.
  • Option 3 is incorrect because operators are not written in this form, they are represented as symbols.
  • Option 4 is incorrect because this operator is used to assign the values.
Similar questions