Computer Science, asked by simran12423, 3 months ago

differentiate between = and == operator

Answers

Answered by MrTSR
0

Answer

" = " Operator

→ " = " operator is known as assignment operator.

→ It is Binary Operator which operates on two operands.

→ Assignment Operator it is used to assign the value of variable or expression.

" == " Operator

→ " == " operator is known as equal to operator.

→ It is Binary Operator which operates on two operands.

→ Equal to Operator is used to compare two variable or constants.

Similar questions