Trick Problem solving using C or C++.