Wes @weskerfootTired: `int* p = (int *)malloc(sizeof(int) * 10)` Wired: `int *p = malloc((sizeof *p) * 10);` Hired: `int *p = calloc(sizeof *p, 10);` #programming #c5:05 PM · Jul 6, 2019·Twitter Web Client2 Retweets1 Like