





Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!






Name: ______________________________________________ UIN: ________________________________________________ TA: ________________________________________________ Section: ______________________________________________ TRUE/FALSE. Write 'T' if the statement is true and 'F' if the statement is false.
if (x >= 0 && <= 100)
MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.
C B D D E D
D) ++ is not executed, just < E) None of the above.
E) None of the above. B B A C
B E E C
using namespace std; void doSomething(int); int main( ) { int x = 2; cout << x << endl; doSomething(x); cout << x << endl; return 0; } void doSomething(int num) { num = 0; cout << num << endl; } A) 0 0 0
E) None of the above.
D B E
C A C A D E