How to represent binary types of variable in C? : I would like to get a binary representation for all types of variables in C: int, unsigned int, long, unsigned long, short, unsigned short, float, double and char. 

If is the best solution, when I getting size of variable (by sizeof) and conversion to binary system?

How to quickly and easily carry out such a conversion?