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
Psychology,
5 months ago
Physics,
5 months ago
English,
5 months ago
Math,
10 months ago
Computer Science,
10 months ago
Biology,
1 year ago
English,
1 year ago