<div dir="ltr">Hi,<div>     I&#39;m looking for that whether the object allocated by malloc is the multiple of certain bytes!</div><div>     Or how does the malloc allocate dynamic memory ?? </div><div>     I does an experiment in my computer!</div><div><div>#include&lt;stdio.h&gt;</div><div>#include&lt;stdlib.h&gt;</div><div><br></div><div>#define NUM 33</div><div>int main(int argc,const char *argv[])</div><div>{</div><div><span class="" style="white-space:pre">        </span>char *a, *b, *c;</div><div><span class="" style="white-space:pre">        </span>a = malloc(NUM);</div><div><span class="" style="white-space:pre">        </span>b = malloc(NUM);</div><div><span class="" style="white-space:pre">        </span>c = malloc(NUM);</div><div><br></div><div><span class="" style="white-space:pre">        </span>printf(&quot;a = %x\n&quot;,a);</div><div><span class="" style="white-space:pre">        </span>printf(&quot;b = %x\n&quot;,b);</div><div><span class="" style="white-space:pre">        </span>printf(&quot;c = %x\n&quot;,c);</div><div><span class="" style="white-space:pre">        </span>free(a);</div><div><span class="" style="white-space:pre">        </span>free(b);</div><div><span class="" style="white-space:pre">        </span>free(c);</div><div><span class="" style="white-space:pre">        </span>return 0;</div><div>}</div></div><div><br></div><div>But the result has no feature about a ,b ,c!</div><div>Can someone tell me what&#39;s wrong with me?</div><div>My GCC version is gcc (Debian 4.9.2-10) 4.9.2</div><div>mudongliang</div><div><br></div></div>