How to deallocate memory without using free() in C? | GeeksforGeeks