What is the primary disadvantage of using dynamic memory allocation for arrays in C?
- Fragmentation
- Inefficiency
- Limited Size
- Slow Access
Dynamic Memory Allocation can lead to memory fragmentation, which can waste memory and affect program performance.
Loading...
Related Quiz
- How do you declare a pointer to an integer in C?
- In C, the ________ function is used to copy a specified number of characters from one string to another.
- In C programming, a function that calls itself and the recursive call is the last operation before it returns is known as ________ recursion.
- In C, what is the result of the expression (5 & 3)?
- The ________ statement is used to exit a loop prematurely.