Skip to content

Beta · Data may be lost.Your data may be reset or lost.

GateBrew
← GATE CSE 2017 Set 2
Questions

Q2

MCQ1 mark, −0.33Programming

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.

Solutions and discussion are hidden while you attempt this question. They open once you check or show the answer.