Sail E0 Webinar

MCQs

Total Questions : 147 | Page 14 of 15 pages
Question 131. Which one is suitable syntax for function template?
  1.    template< class T> return_type Function_Name(parameters)
  2.    template< typename T> return_type Function_Name(parameters)
  3.    both a and b
  4.    None of these
 Discuss Question
Answer: Option C. -> both a and b
NO EXPLANATION IS AVAILABLE FOR THIS QUESTION!
Question 132. If abstract class is inherited by derived class, then_______________ .
  1.    Derived class should provide definition for all the pure virtual functions
  2.    Derived class also become abstract if fails to implement pure virtual functions
  3.    Objects of derived class can’t be created if it fails to implement pure virtual functions
  4.    All of these
 Discuss Question
Answer: Option D. -> All of these
NO EXPLANATION IS AVAILABLE FOR THIS QUESTION!
Question 133. Private members of the class are not inheritable.
  1.    True
  2.    False
 Discuss Question
Answer: Option B. -> False
NO EXPLANATION IS AVAILABLE FOR THIS QUESTION!
Question 134. While overloading binary operators using member function, it requires ___ argument/s.
  1.    Zero
  2.    One
  3.    Two
  4.    Three
 Discuss Question
Answer: Option B. -> One
NO EXPLANATION IS AVAILABLE FOR THIS QUESTION!
Question 135. By default, all the files are opened in ___________mode .
  1.    Binary
  2.    Text
  3.    Can’t say
 Discuss Question
Answer: Option B. -> Text
NO EXPLANATION IS AVAILABLE FOR THIS QUESTION!
Question 136. Generic catch handler must be placed at the end of all the catch handlers.
  1.    True
  2.    False
 Discuss Question
Answer: Option A. -> True
NO EXPLANATION IS AVAILABLE FOR THIS QUESTION!
Question 137. It is not possible to combine two or more file opening mode in open () method.
  1.    True
  2.    False
 Discuss Question
Answer: Option B. -> False
NO EXPLANATION IS AVAILABLE FOR THIS QUESTION!
Question 138. The CPP compiler supports automatic type conversions for the user defined datatypes.
  1.    True
  2.    False
 Discuss Question
Answer: Option B. -> False
NO EXPLANATION IS AVAILABLE FOR THIS QUESTION!
Question 139. An exception can be of only built-In type.
  1.    True
  2.    False
 Discuss Question
Answer: Option B. -> False
NO EXPLANATION IS AVAILABLE FOR THIS QUESTION!
Question 140. Can a class be declared/defined inside another class ?
  1.    Yes
  2.    No
 Discuss Question
Answer: Option A. -> Yes
NO EXPLANATION IS AVAILABLE FOR THIS QUESTION!

Latest Videos

Latest Test Papers