6 What is the difference between the following statements
a=10 and a==10
Answers
Answered by
25
Answer:
Basically
a=10 is used to assignment, means the value of a will be 10.
a==10 is a binary operator, and used to do comparison .
eg:if(a==10)
Similar questions