distinguish between the statement x =5 and x== 5
Answers
Answered by
4
Explanation:
In statement 1 x= 5 the value 5 is assigned to operand x here " = " is used for assigning value. where as in second statement x==5 value present in x and the value 5 are compared here " == " is used as comparison operator.
Similar questions