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 little

B less

C a few

D No correction required

E few

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 destructor

B default constructor

C copy constructor

D constructor

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

A cannot overloaded

B can be overloaded

C can be nested

D can be called

Q6: Which of the following statement is correct?

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

B A destructor has the same name as 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 Data Members

B Constructor

C Both A and C

D Destructor

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

A call zero-argument constructor

B call one-argument constructor of the class

C work without any problem

D call itself recursively

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

A Copy Constructor

B Zero-argument Constructor

C Copy Destructor

D Destructor

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

A linker

B virtual

C syntax

D logical