I2C interview question

Difference between stack and heap