Quote:
C program to convert decimal to binary using bitwise and, shift operator
The program do not convert, it just display the value in base 2.
Note that internally, integers are stored in binary in C programs.
To know what are
&
and
~
, just read the documentation about 'bitwise operators'.
To know what is
U
, read documentation about 'integer constant'.
Quote:
i cannot understand the code although had tried to understand this code using debug compiler.
You will better understand by using the debugger at machine language level to see exactly how source code is translated.