Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <string.h>
- int main(){
- int i;
- char *word = "Hello Word";
- for(i=0;i<8*strlen(word);i++)
- printf("%d",0 != (word[i/8] & 1 << (~i&7)));
- printf("\n");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement