how are the following 2 expression different? ans=8 ans==8
Answers
Answered by
1
Answer:
(i) ans = 8 (ii) ans == 8. ans = 8 is an assignment that puts 8 into ans while ans == 8 is a relational operation that checks if ans is equal to 8.Jul 17, 2019
Similar questions