Qualcomm Interview Question

About C language's memory model in detail. Allocation and deallocation rules for different data types.