What happens in memory when calling a function with literal values?
<p>Suppose I have an arbitrary function:</p>

<pre><code>void someFunc(int, double, char); 
</code></pre>

<p>and I call <code>someFunc(8, 2.4, 'a');</code>, what actually happens? How does 8, 2.4, and 'a' get memory, moved into that memory, and passed into the function? What type of optimizations does the compiler have for situations like these? What if I mix and match parameters, such like <code>someFunc(myIntVar, 2.4, someChar);</code>?</p>

<p>What happens if the function is declared as <code>inline</code>?</p>
