inline functions
declared in header or .h files, available to all source files that uses it
inline in add_numbers(int a, int b) { // definition
return a + b;
}
int main() {
int result = 0;
result = add_numbers(100,200); // call
return 0;
}
declared in header or .h files, available to all source files that uses it
inline in add_numbers(int a, int b) { // definition
return a + b;
}
int main() {
int result = 0;
result = add_numbers(100,200); // call
return 0;
}