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
Social Sciences,
7 hours ago
Science,
7 hours ago
Math,
7 hours ago
Social Sciences,
14 hours ago
Math,
14 hours ago
Hindi,
8 months ago
Math,
8 months ago