Microsoft interview question

Write the C function for memchar()