Computer Science, asked by praveen5307, 1 year ago

What does the inline keyword do?

Answers

Answered by avni99
0

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 function definition wherever those are being called. Compiler replaces the definition of inline functions at compile time instead of referring function definition at runtime.

NOTE- This is just a suggestion to compiler to make the function inline, if function is big (in term of executable instruction etc) then, compiler can ignore the “inline” request and treat the function as normal function.

Answered by jiya8529
2

the inline functions are C ++ enhansment feauture to increase the execution time of program

mark are brainliest ans plz

Similar questions