Vidyalelo
C Programming · Q31

Memory Allocation

Programming · C Programming · question 31

Q31

The number of arguments for realloc() function is/are:

A.
0
B.
1
C.
2
Answer
D.
3
E.
Depends upon user choice.

Answer: Option C

Solution

Answer: Option C
Solution:

As it takes two parameters, one is the pointer to the existing block and the second is the value for new size in integers.