Bloomberg Interview Question

stack versus heap, inline function, virtual function