Public feed #533210

Mine

public text v1 · immutable
Raw Edit
·published 2007-06-03 11:45 UTC
rendered paste body
#include <stdlib.h>

#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 */
}