#include <stdio.h>#include <stdlib.h>#define free(ptr) do { free(ptr); ptr = 0; } while (0)int main(){ char * p = malloc(10); printf("Befor: %p\n",p); free(p); printf("After: %p\n",p); return 0;}