Code:I am trying to store tokens in the 'arr' array but it prints wrong stuff... do you mind also explaining why it prints garbage? char *arr[30000]; const char *delimiters=";,.1234567890 "; char *temp; int k; temp=strtok(file_data,delimiters); while(temp != NULL) { printf(" %s ", temp); k++; get=temp;; arr[k]= (char*)temp; temp=strtok(NULL,delimiters); printf("haha!! %s hoho\n",arr[k]); }