Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <unistd.h>
- #include <string.h>
- int main(void) {
- char word[] = "PIPISKA";
- size_t len = strlen(word);
- while ( len-- > 0 ) {
- printf("\r%s ", word);
- fflush(stdout);
- word[len] = 0;
- sleep(1);
- }
- printf("\r \n");
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement