Question: char buffer [ 1 2 0 ] ; char * second = strtok ( liarg ) ; second = strtok ( NULL ,

char buffer[120];
char *second = strtok(liarg"");
second = strtok(NULL,"");
while(second != NULL){
snprintf(buffer,30,"%s",second);
second = strtok(NULL,"");
}
// buffer[strlen(buffer)-1]='\0';
printf("%s",buffer);

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!