...
Including stdlib.h
ensures the function prototype for malloc()
is declared and in scope.
Code Block | ||
---|---|---|
| ||
#include <stdlib.h> /* ... */ char *p = malloc(10); |
...
...
Including stdlib.h
ensures the function prototype for malloc()
is declared and in scope.
Code Block | ||
---|---|---|
| ||
#include <stdlib.h> /* ... */ char *p = malloc(10); |
...