Answer Posted / kishor khatri
A friend function is a non member function of a class, that
is declared as a friend using the keyword "friend" inside
the class. By declaring a function as a friend, all the
access permissions are given to the function. It is like
allowing access to ones personal belongings to a friend.
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
How oops is better than procedural?
What are the types of abstraction?
Which language is pure oop?
What are two types of polymorphism?
What is oops and its features?
What do you mean by Encapsulation?
What is destructor in oop?
Why polymorphism is used in oops?
What is abstract class in oops?
What is the difference between a constructor and a destructor?
Question: Write a program that prints a paycheck. Ask the program user for the name of the employee, the hourly rate, and the number of hours worked. If the number of hours exceeds 40, the employee is paid “time and a half”, that is, 150 percent of the hourly rate on the hours exceeding 40. Be sure to use stepwi se refine ment and break your solution into several functions. Use the int_name function to print the dollar amount of the check.
What is static modifier?
What is overriding vs overloading?
What is static in oop?
write a code for this:trailer recordId contains a value other than 99, then the file must error with the reason ‘Invalid RECORD_ID’(User Defined Exception).