#include <stdio.h>
union num
{
int f;
char c[4];
};
void printBinary(union num u)
{
int i,t,j;
for(i=sizeof(u)-1; i>=0; i--)
{
for(j=0,t=128; j<8; j++,t>>=1)
}
}
int main()
{
union num n;
n.f=10;
printBinary(n);
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+Cgp1bmlvbiBudW0KewoJaW50IGY7CgljaGFyIGNbNF07Cn07Cgp2b2lkIHByaW50QmluYXJ5KHVuaW9uIG51bSB1KQp7CglpbnQgaSx0LGo7CgoJZm9yKGk9c2l6ZW9mKHUpLTE7IGk+PTA7IGktLSkKCXsKCQlmb3Ioaj0wLHQ9MTI4OyBqPDg7IGorKyx0Pj49MSkKCQkJcHJpbnRmKCIlZCIsKHUuY1tpXSZ0KT8xOjApOwoJCXByaW50ZigiICIpOwoJfQp9CgppbnQgbWFpbigpCnsKCXVuaW9uIG51bSBuOwoJbi5mPTEwOwoJcHJpbnRCaW5hcnkobik7CglyZXR1cm4gMDsKfQ==