New course! Every coder should learn Generative AI!
Try a free lesson+ 1
What is the meaning of the statement bool c=~(a && b); in c++
meaning of ~ operator in C++
2 Answers
+ 8
it is a bitwise NOT operator
it works on the bit level of the variable and swap 1 to 0 and vice versa
+ 1
ok understood