Computer Science, asked by advocaterahul, 10 months ago

6 What is the difference between the following statements
a=10 and a==10​

Answers

Answered by charlie1505
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