Define friend function.
No Answer is Posted For this Question
Be the First to Post Answer
Friend functions can access private and protected members of a class.
What is a constructor in c++ with example?
Given the following seqment of code containing a group of nested if instructions: y = 9; if ((x==3) || (x == 5)) y++; else if (x == 2) y *= 2; else if (x == ) y-= 7; else y = 8; if the value of x is 4 before the nested IFs are executed, what is the value of y after the nested IFs are executed?
What is object in c++ wikipedia?
What are the three forms of cin.get() and what are their differences?
. If employee B is the boss of A and C is the boss of B and D is the boss of C and E is the boss of D. Then write a program using the Database such that if an employee name is Asked to Display it also display his bosses with his name. For eg. If C is displayed it should also display D and E with C?
What is the use of string in c++?
What is the default width for ouputting a long integer using the insertion operator?
How to create a reference variable in C++
What are the different types of Storage classes?
What is slicing?
What are structures and unions?