C++ Programming is one of the most common programming languages that a programmer is expected to understand in detail. Do you think you need a way of reviewing what you know about this language and its uses? The quiz below is considered the hardest, and if you can tackle it with ease, you need not worry about an exam. Try it out!
Integer
Bool
Char
Enumerated type
All choices
Or
And
Not
None are correct
+
||
&&
-
Other is even
Other is odd
0
Run-time error, no output
(x = 2)
(2
(x >= 2 && x
(2
7
6
8
5
Unknown
Less than 10
Nothing
Large
No output, syntax error
Ans is an int
Break; is illegal syntax
Nothing
There are no break statements on 2 cases.
13,13
0,13
13,0
Nothing, there is a syntax error.
3
4
5
0
3
4
5
0
What the loop does
The minimum number of iterations of the loop
The condition for ending the loop
If the loop is in a function
(2
(2
(2
(2 < number || number > 5)
(2 > number && number > 5)
Int
Char
Enum
Long
Int, char, enum and long
Int and long only
Case 1:
Case x
Case 'ab':
Case 1.5:
Less than 10
Nothing
Large
No output, syntax error