error: implicitly declaring library function 'malloc' with type 'void *(unsigned long)' code example
Example: incompatible implicit declaration of built-in function ‘malloc’
Insert:
#include <stdlib.h>
Insert:
#include <stdlib.h>