Dassault Systèmes interview question

Finding a problem with a piece of c++ code