#include <string.h>
#include <stdio.h>
int main ()
{
char str[80] = "Hello-say-merhaba";
char *token;
token = strtok(str, "-");
while( token != NULL )
{
printf( " %s\n", token );
token = strtok(NULL, "-");
}
return(0);
}
Categories: C language
2 Comments
จดทะเบียนบริษัท · 21/01/2025 at 08:40
… [Trackback]
[…] Read More to that Topic: durukanbal.com/2021/01/17/c-strtok-function-example/ […]
การเล่นคาสิโนสดกับ Royal Gclub · 03/02/2025 at 01:34
… [Trackback]
[…] Read More on that Topic: durukanbal.com/2021/01/17/c-strtok-function-example/ […]