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
How to include variables in double-quoted strings?
How can we increase execution time of a php script?
Tell me how can you pass a variable by reference?
How to increase the maximum execution time of a script in php?
Which function is used in php to delete a file?
What is final class and final method in php?
Does php have a future?
What is the use of $_server["php_self"] variable?
Explain scalar type declarations in php7?
What is exception handling in php?
What is the ioncube php loader?
Tell me what the difference between the 'bitwise and' operator and the 'logical and' operator?
What is reference variable php?
Explain me what is the w3c?
Which function would you use to determine the length of a string in php?