Answer Posted / kumarasamy
it is nonmember function of class it can access the
private and protected members in the class, And it is
defined by a keyword frind.........
| Is This Answer Correct ? | 36 Yes | 4 No |
Post New Answer View All Answers
What is a class in oop?
Explain the concepts involved in Object Oriented programming.
Following are the class specifications: class {int a}; class {int b}; Using friend funtion,calculate the max of two objects and display it.
What is polymorphism used for?
What polymorphism means?
Which language is pure oop?
What are benefits of oop?
write a program to find 2^n+1 ?
Why is polymorphism needed?
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.
Explain virtual inheritance?
Plese get me a perfect C++ program for railway/airway reservation with all details.
Will I be able to get a picture in D drive to the c++ program? If so, help me out?
How to hide the base class functionality in Inheritance?
Write a java applet that computes and displays the squares of values between 25 and 1 inclusive and displays them in a TextArea box