Professional Documents
Culture Documents
A. FiveSix
B. Five
C. Six
D. None of these
ANSWER: B
What does the following code fragment write to the monitor?
A. Under
B. Over
C. Under the limit
D. Over the limit
ANSWER: C
What does the following code fragment write to the monitor?
A. Under
B. Over
C. Under the limit
D. Over the limit
ANSWER: D
What should be the output of below program?
int main()
{ int a = 1;
switch(a) {
case 1: cout<<"One";
case 2: cout<<"Two";
case 3: cout<<"Three";
default: cout<<"Default";
} return 0;}
A. One
B. Compilation Error
C. Default
D. OneTwoThree Default
ANSWER: D