#include #define MAXSIZE 10 int f(void) { char *p = malloc(MAXSIZE); /* (a) no cast, type obvious */ /* ... */ p = (char *) malloc(MAXSIZE); /* (b) cast, to remind on p's type */ }