I need a function which returns me a "word" from a given string and \nthen sets the pointer to the next one which is then retrieved during \nfurther calls to the function.\n\nI think strtok( ) is the solution but i could not understand the use of \nthe function as given in the C99 standard\n\nEXAMPLE\n#include <string.h>\nstatic char str = "?a???b,,,#c";\nchar *t;\nt = strtok(str, "?"); // t points to the token "a"\nt = strtok(NULL, ","); // t points to the token "??b"\nt = strtok(NULL, "#,"); // t points to the token "c"\nt = strtok(NULL, "?"); // t is a null pointer\n\nsuppose i have a string " The C Programming Language"\nhow do i use strtok( ) to retrieve one word at a time from the string i.e\n1st call :The\n2nd call :C\n3rd call :Programming\n4th call :Language\n\nCan anyone please help me out?