Question: what is the difference between assignment operator and equality operator?
Answer: The “=” is an assignment operator is used to assign the value on the right to the variable on the left. The '==' operator checks whether the two given operands are equal or not.