adplus-dvertising
frame-decoration

Question

What is the function used to allocate memory to an array at run time without initializing array elements?

a.

calloc()

b.

malloc()

c.

palloc()

d.

kalloc()

Answer: (b).malloc()

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What is the function used to allocate memory to an array at run time without initializing array elements?