MCQ · 1 mark · C Programming
GATE CS 2017 CS-2 — Q2
Match the following:
(P)
(Q)
(R)
(S)
(i) Sequence of memory locations to store addresses
(ii) A variable located in data section of memory
(iii) Request to allocate a CPU register to store data
(iv) A lost memory which cannot be freed
(P)
static char var;(Q)
m = malloc(10); m = NULL;(R)
char *ptr[10];(S)
register int var1;(i) Sequence of memory locations to store addresses
(ii) A variable located in data section of memory
(iii) Request to allocate a CPU register to store data
(iv) A lost memory which cannot be freed