error: implicit declaration of function ‘malloc’ [-Wimplicit-function-declaration] code example Example: incompatible implicit declaration of built-in function ‘malloc’ Insert: #include <stdlib.h>