Computer Science, asked by ritwikdatta8695, 1 year ago

What is difference between num=10 and num==10

Answers

Answered by Anonymous
23
in num=10 we r assign a value to num
and.....
in num==10 we r checking if num is equal to 10 or not.

hope its helpful..........
Answered by abhi1611
8
num =10 is used to assign value num to 10 and num==10 is to check the relation whether num is equal or not equal to 10
Similar questions