0

Why is it necessary to type twice =, I mean, to write "=="?

26th Jun 2016, 2:40 AM
José Mascarúa
José Mascarúa - avatar
2 Réponses
+ 1
one equal sign means assignment of value to variable. two equal signs means test for equality.
26th Jun 2016, 8:12 AM
mostaf1star
0
exam, a=10, another if a=10 and c=10, then a==c;
18th Jul 2016, 9:15 AM
meherDev
meherDev - avatar