I’m very confused about malloc() and calloc() on C
You can’t assign memory to an array. An array has a fixed size, for the whole of its lifespan. An array can never be null. An array is not a pointer. malloc returns the address to a memory block that is reserved for the program. You can’t “assign” that (being the memory block) to an … Read more