Match the following:
|
(P) |
static char var; |
(i) |
A sequence of memory locations to store addresses |
|
(Q) |
m = malloc(10); m = NULL; |
(ii) |
A variable located in the data section of memory |
|
(R) |
char *ptr[10]; |
(iii) |
Request to allocate a CPU register to store data |
|
(S) |
register int var1; |
(iv) |
A lost memory which cannot be freed |
1
P → (ii), Q → (iv), R→ (i), S → (iii)
2
P → (ii), Q → (i), R → (iv), S → (iii)
3
P → (ii), Q → (iv), R → (iii), S → (i)
4
P → (iii), Q → (iv), R → (i), S → (ii)