C Programming - Memory Allocation
|
|
|
|
Exercise"If you judge people, you have no time to love them."
- Mother Teresa
|
| 1. |
Can I increase the size of dynamically allocated array? |
Answer: Option B
Explanation:
Use realloc(variable_name, value);
|
| 2. |
Can I increase the size of statically allocated array? |
Answer: Option D
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()
|
|
|