what is virtual function?
Answer Posted / susanta samal
virtual function is used to prevent from more times
calling.That means if a function is declared as virtual
then its def will be diferent in base class & derived class
| Is This Answer Correct ? | 4 Yes | 7 No |
Post New Answer View All Answers
Write a program to compute for numeric grades for a course. The course records are in a file that will serve as the input file. The input file is in exactly the following format: Each line contains a student's first name, then one space, then ten quiz scores all on one line. The quiz scores are in whole number and are separated by one space. Your program will take it input from this file and sends it output to a second file. The data in the output file will be exactly the same as the data in the input file except that there will be one additional number (of type double) at the end of each line. This number will be the average of the student's ten quiz scores. Use at least one function that has file streams as all or some of its arguments.
Is this job good for future? can do this job post grduate student?
Why is polymorphism needed?
What is oops?what is its use in software engineering?
What is destructor oops?
What is class and example?
What does and I oop mean?
how to get the oracle certification? send me the answer
Why multiple inheritance is not possible?
Which method cannot be overridden?
What is overloading and its types?
Why oops is important?
They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?
What is difference between oop and pop?
What is oops and its features?