Zoho interview question

c : pointers recursion aptitude: trains and distance work and time clocks probability