Add inline-code.cpp

This commit is contained in:
Nicolás A. Ortega Froysa 2022-05-23 13:07:16 +02:00
parent af17057076
commit b73ab5aacb

View File

@ -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;
}