What is the difference between = and == operators? Explain with the help of example
Answers
Answered by
1
Answer:
both are not same, = is an Assignment Operator it is used to assign the value of variable or expression, while == is an Equal to Operator and it is a relation operator used for comparison (to compare value of both left and right side operands).
Explanation:
Similar questions
India Languages,
1 month ago
Math,
1 month ago
Social Sciences,
3 months ago
Math,
3 months ago
Math,
9 months ago
English,
9 months ago