SUNRISE FUTURES interview question

Analyze a short C++ program with multiple bad practices and explain the behavior.

Interview Answer

Anonymous

4 Dec 2019

The question was in the realm between hard-to-read and compiler specific behavior. Such practices should be avoided in production code but somehow they thought it was relevant in an interview. The interviewer seemed ok with my response, but there were issues at play that I don't think he was even aware of.