What are friend functions in C++?
Answer / Mohammad Wasim
A friend function is a non-member function that has access to the private and protected members of a class. Friend functions are declared within the class definition using the keyword 'friend'. They are not member functions, but they can be called as if they were member functions.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is :: operator in c++?
What is buffer and example?
Does defining a function inline mean that it wont push and pop things on/off the stack ...like parameters and the return the address??
What is the handle class?
Differentiate between the message and method in c++?
What is multithreading and what is its use?Whats are multithreading techniques used in C++?
Is c# written in c++?
Which field is used in c++?
How to defines the function in c++?
Is there any function that can skip certain number of characters present in the input stream?
Difference between overloading vs. Overriding
Why ctype h is used in c++?