Computer Science - Object Oriented Programming Using C++

36.
One of the valid escape sequences used in the C language is
\z
\N
\t
\s
None of the above
Answer: Option
Explanation:
No answer description is available. Let's discuss.

37.
A default constructor
takes no arguments
has default values for all its arguments
either (a) or (b)
neither (a) nor (b)
Answer: Option
Explanation:
No answer description is available. Let's discuss.

38.
Which of the following will increase the value stored in the first element of the fee array by 2?
amount[0] = amount[0] + 2;
amount, fee[0] = amount, fee [0] + 2;
feelnfo.amount[0] = feelnfo.amount[0] + 2;
fee[0].amount = fee[0].amount + 2;
fee.amount[0] = fee.amount[0] + 2;
Answer: Option
Explanation:
No answer description is available. Let's discuss.

39.
Which loop always processes its instructions at least once?
do-while
for
while
Answer: Option
Explanation:
No answer description is available. Let's discuss.

40.
When a new class is derived from an existing class, the derived class member functions _____ have names that differ from base class function names
may
may if the two classes have the same name
must
must not
Answer: Option
Explanation:
No answer description is available. Let's discuss.