Answer Posted / vigneswari
FRIEND FUNCTION IS USED TO ACCESS THE DATAMEMBERS,MEMBER
FUNCTION DECLARED UNDER PRIVATE(access
specifier)...normaly we canot access the members under
private for the whole program.......BUT USING THIS
FRIENDFUNCTION WE CAN ACCESS THE FUNCTION UNDER
PRIVATE................BEST WISHES TO B A GUD
PROGRAMMER...ALL THE BEST
| Is This Answer Correct ? | 4 Yes | 4 No |
Post New Answer View All Answers
What is polymorphism and example?
What is a class oop?
What is the full form of oops?
What are main features of oop?
What is a superclass in oop?
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.
design a c++ class for the chess board,provide a c++ class definition for such class(only class definition is required)
How to handle exception in c++, For example in a functions i am assigning memory to some variables and also in next instructions in am dividing one variable also. If this functions generates a error while allocating memory to those variable and also while dividing the variable if i divide by zero then catch block how it will identify that this error has cone from perticular instruction
What is abstraction oop?
program for insertion ,deletion,sorting in double link list
What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?
What is destructor give example?
What is the difference between a mixin and inheritance?
Can you explain polymorphism?
Why do we use polymorphism?