What do you mean by pure virtual functions?

Answer Posted / prabhakar

A VIRTUAL FUNCTION IS IS EQUALL TO ZERO IS CALLLED A PURE VIRTUAL FUNCTION.
FOR EXAMPLE
VIRTUAL FUN()=0;

Is This Answer Correct ?    0 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is polymorphism what are the different types of polymorphism?

558


What are the benefits of polymorphism?

616


Why it is called runtime polymorphism?

573


Why is there no multiple inheritance?

564


#include #include #include #include void select(char *items, int count); int main(void) { char s[255]; printf("Enter a string:"); gets(s); select(s, strlen(s)); printf("The sorted string is: %s.\n", s); getch(); return 0; } void select(char *items, int count) { register int a, b, c; int exchange; char t; for(a = 0; a < count-1; ++a) { exchange = 0; c = a; t = items[ a ]; for(b = a + 1; b < count; ++b) { if(items[ b ] < t) { c = b; t = items[ b ]; exchange = 1; } } if(exchange) { items[ c ] = items[ a ]; items[ a ] = t; } } } design an algorithm for Selection Sort

2061






What are the important components of cohesion?

550


What are the 3 pillars of oop?

609


Why multiple inheritance is not possible?

594


Why is oop useful?

599


Can destructor be overloaded?

593


How do you define a class in oop?

624


What is the purpose of polymorphism?

671


Get me a number puzzle game-program

1690


Write a C++ program without using any loop (if, for, while etc) to print prime numbers from 1 to 100 and 100 to 1 (Do not use 200 print statements!!!)

1636


2. Give the different notations for the class.\

1584