Answer Posted / vijaya
Sometimes a function is best shared among a number of
different classes. Such functions can be declared either as
member functions of one class or as global functions. In
either case they can be set to be friends of other classes,
by using a friend specifier in the class that is admitting
them. Such functions can use all attributes of the class
which names them as a friend, as if they were themselves
members of that class. A friend declaration is essentially a
prototype for a member function, but instead of requiring an
implementation with the name of that class
attached by the double colon syntax, a global function or
member function of another class provides the match.
Is This Answer Correct ? | 90 Yes | 15 No |
Post New Answer View All Answers
What is meant by MIME?
What is the difference server side and browser side validation?
What is difference between static and constant in php?
What is meant by urlencode and urldecode?
Do you know what is the function func_num_args() used for?
Tell me how to find the position of the first occurrence of a substring in a string?
How the web server interprets php and interacts with the client?
What are majic methords in php?
where do we use htaccess?
Write a program using while loop in php?
What is a null coalescing operator in php7?
Hi this is amul jani here, i complied my graduation in B.com stream.. but as career i looking for PHP language.. to get shape my career. so is that possible to enter in IT world.. for me how much scope of develop my career in this field.. amul jani
What is the difference between apache and tomcat?
What language is php written in?
Do you have to initialize variables in php?