CPP 3 online test, online practice test, exam, quiz

CPP 3 Online Test

The purpose of this online test is to help you evaluate your CPP 3 knowledge yourself. These Multiple Choice Questions (MCQs) on CPP 3 will prepare you for technical round of job interview, written test and many certification exams.

The test contains 18 questions and there is no time limit. You will get 1 point for each correct answer. You will get your online test score after finishing the complete test.
(Total 18 questions)        (Time spent 0:0)

1. class Example{
public: int a,b,c;
Example(){a=b=c=1;} //Constructor 1
Example(int a){a = a; b = c = 1;} //Constructor 2
Example(int a,int b){a = a; b = b; c = 1;} //Constructor 3
Example(int a,int b,int c){ a = a; b = b; c = c;} //Constructor 4
In the above example of constructor overloading, the following statement will call which constructor
Example obj = new Example (1,2,3.3);

   View Test Answer