#include <string.h>
#include <stdio.h>
int main()
{
char s1[] = "Say hello , merhaba kim bu";
char s2[] = "merhaba";
char* p;
p = strstr(s1, s2);
if (p)
{
printf("String found: %s\n",p);
}
else
{
printf("String not found\n");
}
return 0;
}
Categories: C language
8 Comments
cartel oil oklahoma · 02/10/2024 at 03:00
… [Trackback]
[…] Here you can find 53306 additional Information on that Topic: durukanbal.com/2021/01/17/c-strstr-function-example/ […]
swan168 · 10/10/2024 at 02:46
… [Trackback]
[…] Information to that Topic: durukanbal.com/2021/01/17/c-strstr-function-example/ […]
grayzone hacks · 14/10/2024 at 14:26
… [Trackback]
[…] Read More Information here to that Topic: durukanbal.com/2021/01/17/c-strstr-function-example/ […]
ufa191 · 20/10/2024 at 04:56
… [Trackback]
[…] Find More Information here on that Topic: durukanbal.com/2021/01/17/c-strstr-function-example/ […]
Christopher · 02/11/2024 at 13:39
… [Trackback]
[…] Here you will find 46531 more Information on that Topic: durukanbal.com/2021/01/17/c-strstr-function-example/ […]
marine88 · 12/11/2024 at 09:54
… [Trackback]
[…] Here you will find 83008 additional Info to that Topic: durukanbal.com/2021/01/17/c-strstr-function-example/ […]
lucky niki · 29/11/2024 at 23:19
… [Trackback]
[…] Find More on that Topic: durukanbal.com/2021/01/17/c-strstr-function-example/ […]
แนะนำเว็บหวยจ่ายเต็ม · 02/12/2024 at 01:14
… [Trackback]
[…] Info on that Topic: durukanbal.com/2021/01/17/c-strstr-function-example/ […]