This should be easy points for those who answer. There is a logical answer to this question, but I wanted to ask just to verify.
My understanding of how program flow works is simple. A function and its associated instructions are located at some point in memory. This location in memory is the single location that is used to store such instructions. When called, the location of the first instruction of that function is stored in the program flow. This memory pointer instructs the CPU where to go in memory to find the instructions for the required function. After jumping to this location and executing the instructions, normal program flow is restored and the CPU jumps back to where the original address instruction was located to proceed with successive instructions.
It is my understanding that inline functions are pasted right into the locations in which they were called. So, when a source file is written and an inline function defined, there actually exist multiple locations in memory where this function's instruction set is located (namely exactly where it is called). So, that is to say there is not an source location in memory similar to that of a non-inline function?
Further, during the compiling process, does the compiler just paste the inline function exactly where it was called and remove/replace the arbitrary argument names of the function's definition with the parameters passed to it?