C Primer Plus 第十一章第七題

7.Write a function string_in() that takes two string pointers as arguments. If the second string is contained in the first string, have the function return the address at witch the address of the a in hats. Otherwise, have the function return the null pointer. Test the function in a complete program that uses a loop to provide input values for feeding to the function.

Posted in 碎碎念

Leave a Reply

Your email address will not be published.