>>629
1バイトが8ビットとは限らないけどこれでよければどうぞ。

#include<stdio.h>

int main(void)
{
int in;
int cnt;

scanf( "%d", &in );

for ( cnt = sizeof( int ) * 8; cnt > 0 ; cnt-- ) {
printf ( "%d", ( in >> ( cnt - 1 ) ) & 1 );
}

return 0;
}