0
what is the difference between x == 6 & x = 6
3 Antworten
+ 9
The former evaluates that both sides are equal. The latter assigns 6 to x.
0
the both are the same but "=="say than "x" is typically egal to 6.while
"="say that "x" receive 6
0
x==6 means 6 is comapred with variable x.x=6 means 6 value is assigned to x variable.