When will you make a function inline and why in c++?
Answers
Answered by
0
Answer:
The inline functions are a C++ enhancement feature to increase the execution time of a program. Functions can be instructed to compiler to make them inline so that compiler can replace those functiondefinition wherever those are being called. Inline function is a functionthat is expanded in line when it is called.
Answered by
1
The inline functions are a C++ enhancement feature to increase the execution time of a program. Functions can be instructed to compiler to make them inline so that compiler can replace those functiondefinition wherever those are being called. Inline function is a functionthat is expanded in line when it is called.
Similar questions