+ 6

What is inline function

17th May 2018, 5:40 AM
Mass Mano
5 Answers
+ 34
inline function instruct compiler to insert complete body of the function wherever the function got used.
17th May 2018, 5:50 AM
PALAK
+ 16
C++ inline function is powerful concept that is commonly used with classes. If a function is inline, the compiler places a copy of the code of that function at each point where thefunction is called at compile time. The compiler can ignore the inlinequalifier in case defined function is more than a line. https://www.tutorialspoint.com/cplusplus/cpp_inline_functions.htm
17th May 2018, 5:42 AM
Abhivarshini Maddala
Abhivarshini Maddala - avatar
+ 4
if u know den y askđŸ€”đŸ€”đŸ€”
17th May 2018, 12:22 PM
Rahul Ramachandra Kalal
Rahul Ramachandra Kalal - avatar
+ 4
Inline function is actually a request to the compiler. We can't guarantee on the functioning of it. Generally it's used for very small functions. And when we use keyword inline, we don't have to declare it explicitly.
18th May 2018, 4:14 PM
Nikhil Barik
Nikhil Barik - avatar
0
a type of function whose coding written with its declaration inside the class (may be 😂)
20th May 2018, 2:52 PM
Yashraj Yadav
Yashraj Yadav - avatar