saving . . . saved CPP has been deleted. CPP has been hidden .
CPP
Title
Question
what is friend and inline function in c++?


C-and-Cpp First-C-Program 01-02 min 0-10 sec 15-03-19, 4:46 p.m. abcdefghijklmnop

Answers:

Friend function are outside functions that can access private data in a class. They are defined as normal functions but are declared inside the class with prefix friend.

Inline functions. Usually when we call a function, the control should move from caller function to the called function. But inline functions are those which expand during calling without jumping. function is defined at the place where it are called if it is an inline function
29-02-20, 12:44 p.m. renethajb


Log-in to answer to this question.