Motorola Solutions interview question

Difference between stack and heap memory, analysis of C code, etc.