diff --git a/01-inline-functions/inline-code.cpp b/01-inline-functions/inline-code.cpp new file mode 100644 index 0000000..8494a5a --- /dev/null +++ b/01-inline-functions/inline-code.cpp @@ -0,0 +1,12 @@ +#include + +inline int sum(int a, int b) +{ + return a + b; +} + +int main() +{ + int aux = sum(7,9); + return EXIT_SUCCESS; +}