# include <stdio.h> # include <malloc.h> void f(int **q) { *q = (int *)malloc(5); *(char *)(*q+1) = '5'; //force to char *, don't destory hcb(heap control block) structure } int main(void) { int * p; f(&p); printf("%c\n", *(p+1)); free(p); return 0; }