Computer Science, asked by Nilkanth1, 1 year ago

what is the difference between =and= operator.

Answers

Answered by Anonymous
10
==” is a relational operator which checks if the values of two operands are equal or not, if yes then condition becomes true otherwise it returns false. ... "==" returns a boolean value which is true when the operands are equal. "=" is a function that attributes the value of the second operand to the first.

Anonymous: Hope u liked it ...Pls mark it as brainliest
Nilkanth1: thanks
Answered by Karam
2
= means equal to.. eg x= 5;
== operator is used in a condition eg if(x==3)
Similar questions