are (=) and (==) same? give reasons
Answers
Answered by
2
Answer:-
No, = and == operator are used for different purposes.
= operator is called assignment operator. It assigns value to a variable whereas == operator is used for checking equality of two numbers of characters.
Answered by
2
Answer:
No.....
= operator is called assignment operator...moreover, it is used to assign a value to a variable.
== operator conditional/relational operator...used for comparing two values..
Similar questions