What is friend function in c++, Computer Engineering

As the name suggests, the function acts as a friend to a class. As a friend of a class, it can access its private & protected members. A friend function is not a member of the class. But it must be listed in the class definition.      

 

 

Posted Date: 4/8/2013 5:50:16 AM | Location : United States







Related Discussions:- What is friend function in c++, Assignment Help, Ask Question on What is friend function in c++, Get Answer, Expert's Help, What is friend function in c++ Discussions

Write discussion on What is friend function in c++
Your posts are moderated
Related Questions
Disadvantages of MPI  Performance is restricted by communication network between the nodes It can be harder to debug Needs more programming changes to go from seri

Syntax of recursion int fib(int num) /* Fibonacci value of a number */ {      switch(num) { case 0: return(0); break; case 1: return(1); break; default:  /* Incl

the c code for hypothetical reliable data transfer protocol

DATA DICTIONARY ON ONLINE QUIZ SYSTEM

Question: a) Describe what is meant by a "bus". There are two types of bus, dedicated and multiplexed. Give a brief description of both types of buses. b) Briefly explain f

Back propagation Learning Routine - Aartificial intelligence As with perceptrons, the information in the network is stored in the weights, so the learning problem comes down to


Use of Hypertext links in Internet access From the user's point of view, the Web having of a vast, worldwide collection of documents i.e. pages. Every page may have links (poin

Explain what is a transaction in SAP terminology. In SAP terminology, a transaction is series of logically linked dialog steps.

Describe the micro programmed control unit in detail. A micro programmed control unit is built around a storage unit is known as a control store where all the control signals a