#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); 
}

9 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/ […]

ซักผ้าอุตสาหกรรม · 09/03/2025 at 18:25

… [Trackback]

[…] Info on that Topic: durukanbal.com/2021/01/17/c-strtok-function-example/ […]

https://derksenlandbouw.nl/comprehensive-reviews-pocket-option/76878 · 11/03/2025 at 19:01

… [Trackback]

[…] Find More here to that Topic: durukanbal.com/2021/01/17/c-strtok-function-example/ […]

y2k168 · 13/03/2025 at 11:04

… [Trackback]

[…] There you can find 7087 additional Info to that Topic: durukanbal.com/2021/01/17/c-strtok-function-example/ […]

นิยาย · 30/03/2025 at 06:23

… [Trackback]

[…] Information to that Topic: durukanbal.com/2021/01/17/c-strtok-function-example/ […]

เว็บตรงฝากถอนง่าย · 06/04/2025 at 01:40

… [Trackback]

[…] There you will find 88446 additional Info to that Topic: durukanbal.com/2021/01/17/c-strtok-function-example/ […]

ทดลองเล่นสล็อต · 13/04/2025 at 23:41

… [Trackback]

[…] Find More Information here to that Topic: durukanbal.com/2021/01/17/c-strtok-function-example/ […]

BAU · 08/05/2025 at 15:13

… [Trackback]

[…] Find More Info here on that Topic: durukanbal.com/2021/01/17/c-strtok-function-example/ […]

Leave a Reply

Avatar placeholder