Programming with C & C++
Marks: 60
35 x 1 = 35 Marks
9. Every case segment in switch should be
terminated with
statement.
a) Return
b) Default
c) Break
d) Any one of these
10. An
is evaluated based on the
operator precedence and their associativity.
a) Variable
b) Value
c) String
d) Expression
11. The result of the expression 56 % 5 is
a) 11 b) 56 c) 1
d) 5
12. The direction in which the operators are
executed in an expression is called
a) Associativity b) Expression
c) Control
d) String
13. A looping block consists of segments.
a) One b) Two c) three d) Four
14. In Ternary Operator:
variable = condition? result 1:result2;
If condition is true
is stored
in the variable.
a) result 1
b) result2
c) both a and b d) All of these
15.
arrays are collection
of the same data type.
a) One dimensional b) Multi-dimensional
c) Two dimensional d) User-defined
Answers
Answered by
0
Explanation:
9. Break
10. Expression
11. 1
12. Associativity
13. Three
14. result1
15. User defined
Similar questions