+ 1

What is the meaning of the statement bool c=~(a && b); in c++

meaning of ~ operator in C++

28th Apr 2017, 11:05 AM
PADDY
PADDY - avatar
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
28th Apr 2017, 11:15 AM
Burey
Burey - avatar
+ 1
ok understood
28th Apr 2017, 11:16 AM
PADDY
PADDY - avatar