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

0 Comments

Leave a Reply

Avatar placeholder

Your email address will not be published. Required fields are marked *