Questions
Questions
Single choice

When memory allocated with the C malloc function is no longer needed, that memory should be returned to the system immediately by calling the C __________ function.  

Options
A.delete
B.dealloc
C.free
D.return
View Explanation

View Explanation

Verified Answer
Please login to view
Step-by-Step Analysis
The question asks which C function should be used to release memory previously allocated with malloc. Understanding the lifecycle of dynamic memory in C helps evaluate the options. Option 1: delete. This is incorrect for C; delete is a keyword/operator used in C+......Login to view full explanation

Log in for full answers

We've collected over 50,000 authentic exam questions and detailed explanations from around the globe. Log in now and get instant access to the answers!

More Practical Tools for Students Powered by AI Study Helper

Join us and instantly unlock extensive past papers & exclusive solutions to get a head start on your studies!