What does && means in C++ | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What does && means in C++

1st Oct 2017, 8:12 PM
Jnr Bill Gates
Jnr Bill Gates - avatar
2 Answers
+ 1
It is a Logic operator. You use it to combine Logic statement. && is an AND it means both statements left and right from it have to be True so the whole is True more: || is an OR it means left or right has to be true for the whole to be true last but not least there is the ! it is an NOT everythin in front of it turns to the oposit True -> False , False-> True
1st Oct 2017, 8:17 PM
Chrizzhigh
Chrizzhigh - avatar
+ 1
thanks
1st Oct 2017, 8:19 PM
Jnr Bill Gates
Jnr Bill Gates - avatar