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
What is the difference between public, private, and protected access?
What is name hiding in c++?
Can I learn c++ without learning c?
Is java made in c++?
What is the need of a destructor?
You want to link a c++ program to c functions. How would you do it?
We all know that a const variable needs to be initialized at the time of declaration. Then how come the program given below runs properly even when we have not initialized p?
Explain the isa and hasa class relationships.
What are the advantages of inheritance in c++?
How long it will take to learn c++?
What are signs of manipulation?
Which software is best for coding?
Write a program which is required to process the time of a clock in hours and minutes, entered from the keyboard. With this program, there are two requirements for any data entered by a user: 1. The data must be of the correct type (in this case, two ints). 2. The data must be in the correct range: this means that, for the minutes, negative numbers and any number above 59 must be rejected; for the hours, negative numbers and any number above 23 must be rejected. Output error message for invalid data input. Output the time one and a half hour after the time input. i.e. Hour: 22 Min: 32 One and a half hour after 22:32 is 00:02
Why the usage of pointers in C++ is not recommended ?
What will strcmp("Astring", "Astring"); return a) A positive value b) A negative value c) Zero