When I use malloc in a C program, I get a warning:
malloc
warning: incompatible implicit declaration of built-in function \'malloc\' [enabled by defaul
To learn the difference, you should read their contents for yourself.
By default, gcc reads neither.
When you read them, you will see that they declare malloc differently.