Computer Science, asked by malarharnar, 3 months ago


What is the difference between assignment operator and equality operator?​

Answers

Answered by varun200406
2

Answer:

The '=' is the so-called assignment operator and is used to assign the result of the expression on the right side of the operator to the variable on the left side. The '==' is the so-called equality comparison operator and is used to check whether the two expressions on both sides are equal or not.

Answered by themakerqueries
1

Explanation:

The '=' is the so-called assignment operator and is used to assign the result of the expression on the right side of the operator to the variable on the left side. The '==' is the so-called equality comparison operator and is used to check whether the two expressions on both sides are equal or not.

Similar questions