C++ Programming Questions

Q.  In a program, If there exists a function template with two parameters and normal function say void add(int , int), so add(3,4) will _____________________ .

a. Invoke function template body as it is generic one
b. Invokes normal function as it exactly matches with its prototype
c. Not be called and Compiler issues warning
d. Not be called and Compiler issues ambiguity in calling add()


ANSWER: See Answer
 
No explanation is available for this question!
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
MCQs:  A virtual function that has no definition within the base class is called____________.
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  What are the characteristics of software?
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  Compilers, Editors software come under which type of software?
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  Software Engineering is defined as systematic, disciplined and quantifiable approach for the development, operation and maintenance of software.
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  RAD Software process model stands for _____ .
Category: Computer Science MCQs,   Published by: T-Code Scripts