Understanding realloc() function in C
June 1, 2024 ⚊ 1 Min read ⚊ Views 41 ⚊ TECHNOLOGYThe realloc() function de-allocates the old object pointed to by pointer (ptr) and returns a pointer to a new object that has the size specified by size. The contents of the new object are similar to that of the old object leading to deallocation, up to the lesser of the new and old sizes.
In this C Tutorial, we will explore more about the realloc() function in C Programming which will include what is the realloc() function in C, the syntax of the realloc() function in C, realloc() function with its example.
Tags: realloc() function in C, realloc() in C