Q. Which of the following functions can be used to allocate memory dynamically?

  • (A) malloc()
  • (B) calloc()
  • (C) realloc()
  • (D) All of the above
πŸ’¬ Discuss
βœ… Correct Answer: (D) All of the above
Explanation: malloc, calloc, and realloc are all used for dynamic memory allocation.
Explanation by: Mr. Dubey
malloc, calloc, and realloc are all used for dynamic memory allocation.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
65
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
98%
Success Rate