Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- char *str = "hello world everyone!";
- Char *tok = strtok(str, ' ');
- while(tok != null) {
- printf("-%s-", tok);
- tok = strtok(NULL, ' ');
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement