What is the difference between the following statements? C=5 and C==5
Answers
Answered by
1
Answer:
= is assignment operator and is used to store the value 5 in variable C
== is a Logical Operator and iss used here to check the condition whether C is equal to 5 or not
Similar questions
Geography,
2 days ago
Social Sciences,
2 days ago
Math,
4 days ago
English,
8 months ago
English,
8 months ago