Hi,
I've just built a C++ exam where a couple of questions revolve around debugging. The answer box is pre-populated with a buggy function and they are asked to fix the bugs until it passes the tests.
When I edit the question and use the 'Preview' link, the question behaves as expected. Compiler errors are shown.
However when I view the exam itself (ie not editing a specific question) and use the 'Preview' menu option, no compiler errors are shown.
Is there a reason why there would be a discrepancy between edit-question-preview and exam-preview?