


















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
COP 3363 - Introduction to Programming (with C++ and Unix COP 3363 - Introduction to Programming (with C++ and Unix) Exam 3 Prep
Typology: Exams
1 / 26
This page cannot be seen from the preview
Don't miss anything!
Unix) Exam 3 Prep
Unix) Exam 3 Prep
D) flowchart E) None of these: hierarchy chart
Unix) Exam 3 Prep
Unix) Exam 3 Prep
Unix) Exam 3 Prep
C) result = 1 D) result = 3 E) there will be no output: result = 3
Unix) Exam 3 Prep
} else funny = 1; serious = 1; } cout << funny << " " << serious << endl; A) 10 10 B) 0 0 C) 1 1 D) 7 15 E) None of these: 1 1
Unix) Exam 3 Prep
C) 7 D) 0: 6
Unix) Exam 3 Prep
D) a for loop E) None of these: a function call
Unix) Exam 3 Prep
4: 4 2
Unix) Exam 3 Prep
Unix) Exam 3 Prep temp = num2; num1 = temp; C) int temp = num1; num2 = num1; num1 = num2; D) num1 = num2; num2 = num1; E) None of these: int temp = num2; num2 = num1; num1 = temp;
Unix) Exam 3 Prep
Unix) Exam 3 Prep
C) declare the pointer value again in the function call D) not dereference the pointer in the function's body E) None of these: None of these
Unix) Exam 3 Prep
A) uppercase z B) a compiler error C) lowercase z D) a lowercase z followed by an uppercase z E) None of these: lowercase z