Add inline-code.cpp
This commit is contained in:
parent
af17057076
commit
b73ab5aacb
|
@ -0,0 +1,12 @@
|
|||
#include <cstdlib>
|
||||
|
||||
inline int sum(int a, int b)
|
||||
{
|
||||
return a + b;
|
||||
}
|
||||
|
||||
int main()
|
||||
{
|
||||
int aux = sum(7,9);
|
||||
return EXIT_SUCCESS;
|
||||
}
|
Loading…
Reference in New Issue