Qualcomm interview question

When a program is compiled what section does each part go to (.data etc)?