Computer Science, asked by naikpuja1018, 14 hours ago

State the difference between = and = =.​

Answers

Answered by syatul1981
2

Explanation:

your answer is in the attachment

mark me as brainliest

Attachments:
Answered by bobbygoswami984
11

=

It is the assignment operator used for assigning a value to a variable.

E.g. int a = 10; assigns 10 to variable a.

==

It is the equality operator used to check if a variable is equal to another variable or literal.

E.g. if (a == 10) checks if variable a is equal to 10 or not.

dhanyavaad

Similar questions