What is a Friend function in c++ language?
What is C++? C++ is an object oriented programming language.It is an extension to C programming. C++ was developed by Bjarne Stroustrup in 1979. C++ is a general purpose case sensitive, free - from programming language that support object oriented, procedural and generic programming. C++ is a middle level language,as it encapsulates both high and low level language features. C++ support the object- oriented programming ,the four major pillar of object - oriented programming (OOPS) used in C++ are- 1- Inheritance 2- Polymorphism 3- Encapsulation 4- Abstractions What is Function prototype? A function prototype is a declaration that defines both : The arguments passed to the function and the type of value returned by the function. If we were to call function fool() which receives a float and an int as arguments and return a double value it's prototype would look like this . Doubl...