C++ Programming Questions

Q.  Which of the following manipulator is used for the representing octal equivalent of a given decimal number?

a. oct
b. setbase(8)
c. tobase(8)
d. both a and b
e. all a, b, c


ANSWER: See Answer
 
No explanation is available for this question!
MCQs:  Can we alter/modify the values of data members of a class inside const member function?
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  If a class contains pure virtual function, then it is termed as____________________ .
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  If inner catch handler is not able to handle the exception then__________ .
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  Generic catch handler is represented by ______________ .
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  Which one is suitable syntax for function template?
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  It is not possible to combine two or more file opening mode in open () method.
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  Private members of the class are not inheritable.
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  While overloading binary operators using member function, it requires ___ argument/s.
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  If abstract class is inherited by derived class, then_______________ .
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  By default, all the files are opened in ___________mode .
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  Generic catch handler must be placed at the end of all the catch handlers.
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  An exception can be of only built-In type.
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  The CPP compiler supports automatic type conversions for the user defined datatypes.
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  Can a class be declared/defined inside another class ?
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  Can we pass parameters to base class constructor though derived class or derived class constructor?
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  _________________are used for generic programming.
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  Irrespective of exception occurrence, catch handler will always get executed.
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  In CPP, cin and cout are the predefined stream __________ .
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  Object oriented programming employs_________ programming approach.
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  Constant variables can be created in CPP by using ________ .
Category: Computer Science MCQs,   Published by: T-Code Scripts