0
What does && mean in C++?
Iâm going through the C++ course and in the comments, some users were using â&&â in their codes. Can someone explain to me what that is under the concept of if and else statements? Much appreciated.
2 Answers
+ 6
Michael
&& is a boolean operator.
It means it is only true if both statmenys are true, otherwise it is false.
Check this out for more info
http://www.cplusplus.com/doc/boolean/
+ 3
&& is the logical AND operator!!
For more you can visit the site:https://msdn.microsoft.com/en-us/library/c6s3h5a7.aspx