#include <string.h> Char str[]=“maca,karo.kupa,sinek”; Char *mtr; Char ayrac[]=“,.”; Char *parca;
#include <string.h> Char str[]=“maca,karo.kupa,sinek”; Char *mtr; Char ayrac[]=“,.”; Char *parca; main() {parca=strtok(str,ayrac);printf(“%s ”,parca); parca=strtok(mtr,ayrac);printf(“%s ”,parca); parca=strtok(mtr,ayrac);printf(“%s ”,parca); parca=strtok(mtr,ayrac);printf(“%s ”,parca);
215 views • 5 slides