Autodesk interview question

Basic programming questions.