C Language Exercise 4 / 15

Memory Allocation

Hard 28 points

Dynamically allocate memory for an array of 10 integers, then free it.

Dynamic memory allocation allows creating arrays of variable size. malloc() allocates, free() frees. stdlib.h contains these functions.

Well done! 🎉
Your answer is correct! You earned 28 points.
Your code C Language
Result