C Programming - Memory Allocation
|
|
|
|
Exercise"Nothing is impossible to a willing heart."
- (Proverb)
|
| 1. |
Can I increase the size of dynamically allocated array? |
Answer: Option D
Explanation:
Use realloc(variable_name, value);
|
| 2. |
Can I increase the size of statically allocated array? |
Answer: Option B
Explanation:
No answer description available for this question. Let us discuss.
|
| 3. |
When we dynamically allocate memory is there any way to free memory during run time? |
Answer: Option C
Explanation:
Using free()
|
|
|