Continental interview question

How do you allocate dynamic memory