Question: 8. What does the function malloc() return when it cannot allocate the requested memory? It returns a NULL pointer o It returns -1 O It

8. What does the function malloc() return when it cannot allocate the requested memory? It returns a NULL pointer o It returns -1 O It raises an exception. It returns a pointer to a smaller than requested block of memory What could be the reason for the error
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
