If you're going to have to argue about the 'intent of the question' then you've already lost.
Really, the question should be 'add these two integers' and any solution that produces the result in a transparent and straightforward way should be honored with top marks.
Trick questions, especially those where only the interviewers pet solution is permitted are a sure sign that this employer is best avoided because they care about form and ego more than they care about getting the bloody job done.
[1]: http://stackoverflow.com/questions/17342042/why-this-code-fo...