0% found this document useful (0 votes)
12 views4 pages

Lcet4 2

ma

Uploaded by

3li
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
12 views4 pages

Lcet4 2

ma

Uploaded by

3li
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

Inline Function:

C++ suppliers’ programmers with the inline keyword, which can speed up programs by making very
short functions execute more efficiently. Normally a function resides in a separate part of memory,
and is referred to by a running program in which it is called. Inline functions save the step of retrieving
the function during execution time, at the cost of a larger compiled program.
Function Overloading:
Overloading refers to the use the same thing for different purposes. C++ also permits overloading of
functions. This means that we can use the same function name to create functions that perform a variety
of different tasks. We can design a family of functions with one function name but with different
argument lists. The function would perform different operations depending on the argument list in the
function call.

You might also like