ENCM 335 Quiz: ENCM 335 Fall 2018 Quiz 2

69 views4 pages

Document Summary

You may not refer to books or notes during the quiz: write all answers on the question paper and hand in the question paper when you are done, please print or write your answers legibly. What cannot be read cannot be marked: if you write anything you do not want marked, put a large x through it and write. Rough work beside it: you may use the backs of pages for rough work. Encm 335 fall 2018 quiz #2 page 2 of 4. Ucid number: question 1 question 2 question 3. In the spaces to the right of the program listings, show what the program output would be. For this part, assume that an int uses 4 bytes of memory and a pointer uses 8 bytes of memory. Reminder: %f will cause printf to print a value of type double with.