Intel Corporation interview question

Write a program that finds a character in a string in plane C