0

What does two equal signs mean

4th Dec 2016, 9:46 PM
Andres Llanos
2 Antworten
+ 6
They mean comparation. One is assignament. Two is to compare the values. int a =2; int b = 2; if (a == b) //this is true, so it will do the code inside the IF { //code }
4th Dec 2016, 9:51 PM
Nahuel
Nahuel - avatar
0
Two equal to signs are relational operators which are used to find if the two operands are equal or not.It returns a boolean value i. e,true or false.
10th Dec 2016, 3:11 PM
Anand Chourasiya
Anand Chourasiya - avatar