Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Including stdlib.h ensures the function prototype for malloc() is declared and in scope.

Code Block
bgColor#ccccff
#include <stdlib.h>
/* ... */
char *p = malloc(10);

...