State the difference between = and = =.
Answers
Answered by
2
Explanation:
your answer is in the attachment
mark me as brainliest
Attachments:
Answered by
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
Computer Science,
28 days ago
Math,
28 days ago
Social Sciences,
1 month ago
Math,
1 month ago
Hindi,
9 months ago
Math,
9 months ago