what is the meaning of ~
for ex
~a=?
for ex
~a=?
// expre_One_Complement_Operator.cpp // compile with: /EHsc #include <iostream> using namespace std; int main () { unsigned short y = 0xFFFF; cout << hex << y << endl; y = ~y; // Take one's complement cout << hex << y << endl; }
Comment