CSCI 103L Midterm: CS 103 USC cs103 Fall 14 Mid
Document Summary
For this exam, you are allowed to use a one-sided cheatsheet (8. 5 x11 ) written in your own handwriting. The lines #include , using namespace std; and the declaration/return of main are left out of most of the programs inside, but you should assume they are included. Print your name, print your email address, and select your lecture section now. * problem 0: ll out this cover page. If it would not compile, write x in both boxes. Describe, in at most 10 words, what information is really being passed to the function when we call it on an array name in this way. Assume that first and second are two variables of int type, with unknown values. We run the following code: if (first < second) { cout << "a"; if (first > 20) cout << "b"; else if (first > second) {