Computer Science, asked by deptisuhaniverma, 3 months ago

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

Answers

Answered by rudrakshasahu123
0

Answer:

a=10' is used to assign the value of 10 in 'a' variable whereas 'a==10' compare the value of 'a' variable with 10. Explanation: In "a=10", a is a variable that is initialized by 10 value because in any programming language "=" stands for assignment operator which is used to assign the value for any variable.

Answered by asil28028
0

Answer:

there are no differences only spelling mistakes. correct and write it properly

Similar questions