Geotab Interview Question

Difference between stack and heap