Pregunta de entrevista de Microsoft

Write a bit of code using pointers to find a particular position in an array that could only be scanned once.