Aspects


vs


Malloc

The malloc function performs dynamic memory allocation in C and is part of the standard library

Strdup

The strdup() function duplicates a string