What is friend function?

Answer Posted / p suresh kumar

It is a non-member function, but having access to class
members.

Is This Answer Correct ?    49 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you mean by variable?

756


What is encapsulation example?

764


Which language is pure oop?

746


How to handle exception in c++, For example in a functions i am assigning memory to some variables and also in next instructions in am dividing one variable also. If this functions generates a error while allocating memory to those variable and also while dividing the variable if i divide by zero then catch block how it will identify that this error has cone from perticular instruction

1875


What does sksksk mean in text slang?

1835


Why do we use class?

811


What is object in oops?

822


what are the different types of qualifier in java?

2013


Which type does string inherit from?

830


Explain the advantages of inheritance.

870


Can we override main method?

833


What is variable example?

784


just right the logic of it 1--> If few people are electing then every time ur candidate should win 2--> arrange books in box, if box carry weight == books weight then take another box..... find the no of box required.

6706


What is encapsulation in oop?

781


Why do we use inheritance?

815