#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);
218 views • 5 slides