image not found

Oops! That page can't be found.


Directions to Solve

Which of phrases given below each sentence should replace the phrase printed in bold type to make the grammatically correct? If the sentence is correct as it is, mark 'E' as the answer.

Q1: The world has seen small real attempt at population and resource planning.

A few

B little

C less

D a few

E No correction required

Q2: Is there any difference in the following declarations?
int myfun(int arr[]);
int myfun(arr[20]);

A Yes

B No

Q3: Which of the following statement is correct?

A Destructor destroys only integer data members of the object.

B Destructor destroys only float data members of the object.

C Destructor destroys only pointer data members of the object.

D Destructor destroys the complete object.

Q4: __________ used to make a copy of one class object from another class object of the same class type.

A constructor

B copy constructor

C destructor

D default constructor

Q5: Constructors __________ to allow different approaches of object construction.

A can be overloaded

B can be called

C cannot overloaded

D can be nested

Q6: Which of the following statement is correct?

A A destructor has the same name as the class in which it is present.

B A destructor has a different name than the class in which it is present.

C A destructor always returns an integer.

D A destructor can be overloaded.

Q7: Which of the following cannot be declared as virtual?

A Both A and C

B Destructor

C Constructor

D Data Members

Q8: If the copy constructor receives its arguments by value, the copy constructor would

A call zero-argument constructor

B work without any problem

C call itself recursively

D call one-argument constructor of the class

Q9: Which of the following are NOT provided by the compiler by default?

A Copy Destructor

B Copy Constructor

C Zero-argument Constructor

D Destructor

Q10: It is a __________ error to pass arguments to a destructor.

A linker

B syntax

C virtual

D logical