Computer Science, asked by psuyash018, 11 months ago

State the difference between = and == operators.​

Answers

Answered by shajjadhossainseam13
0

The equal ' = '  is an assignment operator. It assigns a value of right side to the variable its left side. It is used to assign a value to a variable.

The equal-equal ' == ' operator is a relational operator. Which checks weather the value of left side is equal to right side. It is used in conditionals.

Answered by Anonymous
3

The '==' operator checks whether the two given operands are equal or not....Related Articles.= ==It is an assignment operator. It is a relational or comparison operator.It is used for assigning the value to a variable. It is used for comparing two values. It returns 1 if both the values are equal otherwise returns 0.

Similar questions