Capgemini Engineering interview question

memory allocation of variables using C language