What is the difference between num = 20 and num == 20?
Question :
What is the difference between num = 20 and num == 20?
In num = 20, variable num is assigned the value 20
In num == 20, variable num is compared with the value 20
What is the difference between num = 20 and num == 20?
What is the difference between num = 20 and num == 20?
In num = 20, variable num is assigned the value 20
In num == 20, variable num is compared with the value 20