Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
不是因为得到的空间大,是因为你的字符串没有用0结尾In Reply To:Re:什么叫“超分配”? Posted by:weapon at 2005-12-30 13:01:32 > 就是比如s=(char *)malloc(5*sizeof(char));后,s得到的空间大于5个字符的空间,所以回来输出s的时候后面还有一些东西 Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator