On This Page

This set of Object Oriented Programming OOP Multiple Choice Questions & Answers (MCQs) focuses on Object Oriented Programming Set 3

Q1 | Empty parentheses following a function name in a function prototype indicate that the function does not require any parameters to perform its task.
Q2 | C++ programmers concentrate on creating , which contain data members and the member functions that manipulate those data members and provide services to clients.
Q3 | Which of the following is FALSE about references in C++
Q4 | What will be the output of following program?#include using namespace std;class Test{public:Test() { cout <<"Hello from Test() "; }} a;int main(){cout <<"Main Started "; return 0;}
Q5 | Which of the following is true about constructors.They cannot be virtual. They cannot be private.They are automatically called by new operator
Q6 | Which of the following operators are overloaded by default by the compiler?1) Comparison Operator ( == )2) Assignment Operator ( = )
Q7 | Which of the following is true about inline functions and macros.
Q8 | In C++, const qualifier can be applied toMember functions of a classFunction argumentsTo a class data member which is declared as staticReference variables
Q9 | Which type is best suited to represent the logical values?
Q10 | The following is the C++ style comment
Q11 | Which of the following statements is false?
Q12 | Functions can returns
Q13 | Which of the following control expressions are valid for an if statement?
Q14 | What will be the values of x, m and n after execution of the following statements? Int x, m, n;m=10; n=15;x= ++m + n++;
Q15 | Which of the following approach is adapted by C++?
Q16 | Which of the following is the correct class of the object cout?
Q17 | Which of the following functions are performed by a constructor?
Q18 | Which of the following ways are legal to access a class data member using this pointer?
Q19 | Which operator is having right to left associativity in the following?
Q20 | Which operator is having the highest precedence?
Q21 | #include using namespace std; int main(){int a;a = 5 + 3 * 5;cout <
Q22 | In procedural programming the focus in on …...........
Q23 | In object oriented programming the focus is on ….......
Q24 | Which of the following feature of procedure oriented program is false?
Q25 | Which of the following feature of object oriented program is false?