Go4Expert

Go4Expert (http://www.go4expert.com/)
-   C (http://www.go4expert.com/forums/c/)
-   -   convert char to binary (http://www.go4expert.com/forums/convert-char-binary-t9513/)

just programming 21Mar2008 21:49

convert char to binary
 
hello , i have a question . how can i convert a char to the equal bit sequence in C ?

for example char x[1] = '0' it is 00000000000000000000000000000000 in a system that size of char is 4 bytes .

also , is it possible to print each bit ?

thanks in advance

lead.smart34 25Mar2008 15:30

Re: convert char to binary
 
somebody please help even i needed it


All times are GMT +5.5. The time now is 03:32.