Basic question about malloc

2015-04-22 Thread mudongliang
*c; a = malloc(NUM); b = malloc(NUM); c = malloc(NUM); printf("a = %x\n",a); printf("b = %x\n",b); printf("c = %x\n",c); free(a); free(b); free(c); return 0; } But the result has no feature about a ,b ,c! Can someone tell me what's wrong with me? My GCC version is

malloc/free details in gcc5.1

2015-04-23 Thread mudongliang
and debian-gcc ? How can I do a contribution to debian-gcc ? Thank you! mudongliang -- To UNSUBSCRIBE, email to debian-gcc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/blu436-smtp201dee67fd85248aead8857bc...@phx.gbl