Honeywell interview question

Standard coding questions for C and C++ languages