Q. What does the 'realloc()' function do?

  • (A) Allocates memory
  • (B) Frees memory
  • (C) Resizes previously allocated memory
  • (D) Reallocates file stream
πŸ’¬ Discuss
βœ… Correct Answer: (C) Resizes previously allocated memory
Explanation: realloc() changes the size of the memory block.
Explanation by: Mr. Dubey
realloc() changes the size of the memory block.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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