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

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

Leave a Reply

Avatar placeholder