ENGI 1020 Final: ENGI 1020 Final Exam 2012
Document Summary
Write your answers to all questions in the space provided on this paper. You may use the backs of the pages if you need more space. This is a closed book test, no textbooks, notes, calculators, electronic translators, or other aides are permitted. Notes: write your name and student number in the space provided on this sheet. #include using namespace std; using namespace std: comments and function header block comments are not required unless explicitly asked for. 2 of 9: [8 points, [2 points] given the following function de nition, what output will result from the call. Student #: [4 points] given the function de nition below and that initially e = 3. 0, f = 10 and g = } e l s e i f ( c != 0 ) { c = a b ; a = a ;