Question: Which of the following functions allocates multiple blocks of memory at runtime, each block allocated having same size and each byte of allocated space is

Which of the following functions allocates multiple blocks of memory at runtime, each block allocated having same size and each byte of allocated space is initialized to zero? 

A. malloc() 

B. realloc() 

C. calloc() 

D. free()

Step by Step Solution

3.29 Rating (152 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

C Explanation calloc library functi... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Data Structures and Other Objects Using Java Questions!