+ 1
What is the meaning of the statement bool c=~(a && b); in c++
meaning of ~ operator in C++
2 ответов
+ 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
meaning of ~ operator in C++