Contact: aviboots(AT)netvision.net.il
40,021 questions
51,968 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 */