GATEverse
← GATE CSE 2017 Set 2

Q2

MCQ1 mark, −0.33

Match the following:

P.static char var ;i.Sequence of memory locations to store addressesQ.m = malloc(10); m =NULL ;ii.A variable located in data section of memoryR.char *ptr[10] ;iii.Request to allocate a CPU register to store dataS. register int varl;iv.A lost memory which cannot be freed\begin{array}{|ll|ll|}\hline P. & \text{static char var ;} & \text{i.} & \text{Sequence of memory locations to store addresses} \\\hline Q. & \text{m = malloc(10); m =NULL ;} & \text{ii.} & \text{A variable located in data section of memory} \\\hline R. & \text{char *ptr[10] ;} & \text{iii.} & \text{Request to allocate a CPU register to store data} \\\hline S. & \text{ register int varl;} & \text{iv.} & \text{A lost memory which cannot be freed} \\\hline\end{array}
Sign in to save attempts.

Loading…