Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- int main() {
- char * all_words[10];
- char * word = (char*)malloc(40*sizeof(char));
- word = "Hello\0";
- int i = 0;
- while ((*word+i) != '\0') {
- printf("%c", *(word+i));
- i++;
- }
- printf("\n");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement