+ 3
How to use the ! operator
Is this if( x != y) the right way to use the NOT equal operator or this if(!(x=y)) ?
2 odpowiedzi
+ 1
the first one is the right way !=
+ 1
if(x!=y) is correct, however you can prefer second one also, like this if(!(x==y)) its all about your choice, make it correct and use :-D