Mastercard interview question

How do you allocate memory in C