Answer Posted / ritu shekhwat.
..friend function is a special member function of the class.
..it is precided with the friend keyword.
..it is access the private data of the class.
..some situation where the private data of the one class
can require in another class we declare a function as a
friend.
| Is This Answer Correct ? | 6 Yes | 1 No |
Post New Answer View All Answers
What is the use session in php?
What is session in php why it is use?
Why namespace is used in php?
What function do we use to find length of string, and length of array?
When to use self over $this?
How to remove the new line character from the end of a text line in php?
How to create an array from php string?
How can I embed a java program in php file and what changes have to be done in php.ini file?
How to execute a function in php?
What are regular expressions in programming?
What is mod_php?
How can a cross-site scripting attack be prevented by php?
How can I prevent sql-injection in php?
What is isset function in php?
Explain the syntax for ‘foreach’ loop with example.