What are inline operators in C language?
I found this concept here: "until the inline operator becomes part of standard C, macros are the only portable way of generating inline code".
What are inline operators in C language?
I found this concept here: "until the inline operator becomes part of standard C, macros are the only portable way of generating inline code".
 
    
     
    
    When you mark a function as inline, compiler merges body of that function into caller, so there is no extra effort to call the function, also compiler can do more optimization in the body of the caller and function.
if you have this function:
inline int min(int a, int b) {
    return a <= b? a: b;
}
when you calll this function, compiler won't use call, it will merge this code into caller code
