Question: what is the difference between equality and assignment 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.