In a class only declaration of the function is there but
defintion is not there then what is that function?
Answer Posted / guest
virtual function
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
Is oops and c++ same?
Difference between pointer to constant and constant pointer to a constant. Give example.
Do the names of parameters have to agree in the prototype, definition, and call to the function?
Will a catch statement catch a derived exception if it is looking for the base class?
What do you mean by inheritance in c++?
What is a catch statement?
What is the extraction operator and what does it do?
I want to write a C++ language program that: 1. Reads in the size of a square from the screen; 2. Prints a hollow square of that size out of “-“, “|” and blanks on screen; 3. Prints the same hollow square onto a text file. The program should work for squares of all side sizes between 1 and 20.
How can you prevent accessing of the private parts of my class by other programmers (violating encapsulation)?
Why c++ is faster than java?
What is a unnitialised pointer?
What are the stages in the development cycle?
Write a short code using c++ to print out all odd number from 1 to 100 using a for loop
Explain dangling pointer.
What is a base class?