The calloc function performs dynamic memory allocation in C, and is part of the standard library.
I have code like this to store argv to a dynamically allocated int array: int *data; // pointer to array of …