Computer Science, asked by kumardipu546, 10 months ago

When will you make a function inline and why in c++?

Answers

Answered by Anonymous
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 N3KKI
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