compile time and runtime in c++
<p>If you created a variable of a primitive type like int, char, float inside a function.
Did you create that variable at runtime or at compile time?</p>

<p>If you created an object inside a function. 
Did you create that object at runtime or at compile time?</p>

<p>If you create an object by memory allocation thru heap.
Did you create that object at runtime or at compile time?</p>

<p>Additional question is what is static memory allocation and dynamic memory allocation.</p>
