What is Pure Virtual Function? Why and when it is used ?

Answer Posted / rajni

a virtual when equated to zero then it is a pure virtual
function'

Is This Answer Correct ?    25 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain method of creating object in C++ ?

606


Write a Program for find and replace a character in a string.

564


What is the use of endl?

554


How would you call C functions from C++ and vice versa?

650


What does scope resolution operator do?

609






What is object in c++ wikipedia?

575


What is the output of the following program? Why?

632


Why do we need function?

612


What is the use of setprecision in c++?

554


What are smart pointers?

682


Why is c++ still best?

568


If a round rectangle has straight edges and rounded corners, your roundrect class inherits both from rectangle and from circle, and they in turn both inherit from shape, how many shapes are created when you create a roundrect?

678


Describe the role of the c++ in the tradeoff of safety vs. Usability?

725


Write a C++ Program to check whether a number is prime number or not?

642


What is guard code in c++?

652