Computer Science, asked by kartikey2724, 1 year ago

difference between == (equal to)operator and =(assignment) operator​

Answers

Answered by priyanshikakatyayan
4
Equal to operate is used particularly in conditional statements.eg: if(a= = 3) where it shows that if a is equal to 3.

But the other operator that is the assignment operator is used to assign the value to a variable. eg: int a=3.


Hope it helps you !!!

Vivem: Thank u friend
priyanshikakatyayan: wlcm !!!
Answered by vandanasingh23
2

Answer:

this is the correct answer

Attachments:
Similar questions