9 lines
183 B
Plaintext
9 lines
183 B
Plaintext
main()
|
|
{
|
|
name = "strstr";
|
|
|
|
test_str(strstr("test", "t"), "test", "");
|
|
test_str(strstr("test", "st"), "st", "");
|
|
test_str(strstr("hello world!", "s"), 0, "non present to_find");
|
|
}
|