Code Snippets C

#include
#include
int main ()
{
char str[] ="Hello World";
char *j;
j = strstr (str, "is");
strncpy (j, "sample",5 );
puts (str);
return 0;
}