Contact: aviboots(AT)netvision.net.il
39,885 questions
51,811 answers
573 users
#include <stdio.h> #include <string.h> int main() { char s[] = "c c++ c# php python java"; char *token = strtok(s, " "); while (token != NULL) { printf("%s\n", token); token = strtok(NULL, " "); } return 0; } /* run: c c++ c# php python java */