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

1 Comment

Leave a Reply

Avatar placeholder