0
What does two equal signs mean
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
}
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.