111. The general form, of assignment operator is _____.
A. variable_name=expression.
B. datatype=expression.
C. variable=expression.
D. datatype=expression.
ANSWER: A
112. In case of pass by reference ______.
A. the values of those variables are passed to the function
so that it can manipulate them.
B. the location of variable in memory is passed to the
function so that it can use the same memory area for its
processing.
C. the function declaration should contain ampersand (&)
in its type declaration.
D. the function declaration should contain asterisk (*) in
its type declaration.
ANSWER: B
113. Overloaded functions are ______.
A. very long functions that can hardly run.
B. two or more functions with the same name but different
number of parameters or type.
C. short functions that can easily modified.
D. one function containing another one or more functions
inside it.
ANSWER: B
114. ________ function is a function in which expansion of
the function takes place rather than execution.
A. Friend.
B. Inline.
C. Recursive.
D. Member.
ANSWER: B
115. The name of a function variable or class is called____.
A. libraries.
B. stream.
C. identifiers.
D. keywords.
ANSWER: C
116. >> is called as __________ operator.
A. insertion.
B. extraction.
C. greater than.
D. lesser than.
ANSWER: B
117. << is called as _______________ operator
A. insertion.
B. extraction.
C. greater than.
D. lesser than.
ANSWER: A
118. ?: is a _________________.
A. ternary operator
B. not an operator
C. bitwise operator
D. shift operator
ANSWER: A
119. Arguments of functions are separated with ________.
A. comma (,).
B. semicolon (;).
C. colon (:).
D. dot(.).
ANSWER: A
120. _____________ is a variable preserves its value between
function calls.
A. extern.
B. auto.
C. register.
D. static.
ANSWER: D
No comments:
Post a Comment