adplus-dvertising
frame-decoration

Question

In which of the following a virtual call is resolved at the time of compilation?

a.

From inside the destructor.

b.

From inside the constructor.

c.

From inside the main().

d.

Both A and B.

Answer: (d).Both A and B.

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. In which of the following a virtual call is resolved at the time of compilation?

Similar Questions

Discover Related MCQs

Q. Which of the following statements regarding inline functions is correct?

Q. Which one of the following is the correct way to declare a pure virtual function?

Q. Which of the following header file includes definition of cin and cout?

Q. Which of the following keyword is used to overload an operator?

Q. What will happen if a class is not having any name?

Q. Which inheritance type is used in the class given below? class A : public X, public Y {}

Q. Which one of the following is correct about the statements given below?
|. All function calls are resolved at compile-time in Procedure Oriented Programming.
||. All function calls are resolved at compile-time in OOPS.

Q. Which of the following is an invalid visibility label while inheriting a class?

Q. Which one of the following options is correct?

Q. Which of the following statements is correct in C++?

Q. Which of the following is used to make an abstract class?

Q. Which of the following access specifier is used as a default in a class definition?

Q. What is correct about the static data member of a class?

Q. Which of the following provides a reuse mechanism?

Q. Which of the following statement is correct?

Q. First object oriented language 'Smalltalk' were first appeared in

Q. Complex real object contains

Q. Member function will access data and return the value to user when it is

Q. Language which is called pure object oriented language because everything in it is treated consistently as an object, from primitives such as characters and punctuation, all the way up to whole classes, prototypes, blocks, modules, etc. is

Q. In object oriented language, single unit which has data and its function is termed as