Question: Which is the correct syntax of declaring a virtual function?

Options

A : virtual int func();

B : virtual int func(){};

C : inline virtual func();

D : inline virtual func(){};

Click to view Correct Answer

Previous || Next

Cplusplus Programming Inheritance 1 more questions

What are the viruses that affect bacteria known as?

ATM and frame relay are ________

VDU stands for __________

Which of the following is used for generic programming?

Which concept is used to implement late binding?

VLOAD, represents the

Write Through technique is used in which memory for updating....

Which of the following explains the overloading of functions?

Computer-controlled machines that mimic the motor activities of living things....

In what type of display is the image projected directly....

Chemical Engineering Basics - Part 1 more Online Exam Quiz

Cplusplus Programming Function Objects

Cplusplus Programming Functions

Cplusplus Programming Function Templates 2

Cplusplus Programming Functors

Cplusplus Programming Generators

Cplusplus Programming Inheritance 2

Cplusplus Programming Iterators

Cplusplus Programming Lambda Expressions

Cplusplus Programming More Containers

Cplusplus Programming Namespaces 2