Thread: C++/ C question
View Single Post
njdevilfan26

 
Member Since: Jan 27, 2009
Posts: 8
njdevilfan26 is on a distinguished road

njdevilfan26 is offline
also I dont care about errors but can anyone explain this

Main() {
Unsigned int x = 0xffff;
~x;
Printf (“%x”, x);
}
{

what is 0xffff? and i know that ~ means one complement but what does it mean when ~x is printed?
QUOTE Thanks