Practice for a common interview question using C, C++ and C#.