CSCI 103L Midterm: CS 103 USC cs103 Fall 14 Mid

62 views11 pages
31 Jan 2019
School
Course
Professor

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) {

Get access

Grade+
$40 USD/m
Billed monthly
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
10 Verified Answers

Related Documents