Answer Posted / george from psg
static function is constant to all object. In the same way
static variable is constant to all so we use static variable
in static function
| Is This Answer Correct ? | 9 Yes | 1 No |
Post New Answer View All Answers
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 the important feature of inheritance?
what's the basic's in dot net
What is polymorphism what is it for and how is it used?
Which language is pure oop?
What is destructor give example?
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.
Write a program to sort the number with different sorts in one program ??
What is the diamond problem in inheritance?
What is advantage of inheritance?
can we make game by using c
What is polymorphism used for?
when to use 'mutable' keyword and when to use 'const cast' in c++
What is basic concept of oop?
What causes polymorphism?