CSC209H5 Midterm: CSC209H UTM Test Midterm12s eve 279
Document Summary
Do not turn this page until you have received the signal to start. (please ll out the identi cation section above, write your name on the back of the test, and read the instructions below. ) This midterm consists of 4 questions on 6 pages (including this one). When you receive the signal to start, please make sure that your copy is complete. Comments are not required except where indicated, although they may help us mark your answers. They may also get you part marks if you can"t gure out how to write the code. If you use any space for rough work, indicate clearly what you want marked. In each subquestion below, ll in the box with the declaration for an appropriate mystery function so that the following code would compile without error. [4 marks] double price; int * position; char ** products;