Print Binary representation of a number in c

C code to print binary representation of a number :