← BYTES
C·Starter·Ref: 7.1.1
Which function is used to allocate memory dynamically in C?
Have a question about this video? Mention reference 7.1.1 when you contact us.
a.alloc()
b.malloc()
c.new
d.create()
malloc() allocates a block of memory of a given size on the heap and returns a pointer to it.
Find this on YouTube & Instagram
Every BYTES video is tagged with its reference number and topic — search any of these on YouTube or Instagram to find this one:
#BYTES#BYTES711#C