标题:高手??
取消只看楼主
029
Rank: 1
等 级:新手上路
帖 子:71
专家分:0
注 册:2005-8-26
 问题点数:0 回复次数:0 
高手??
#include "stdafx.h"
#include<stdlib.h>
main()
{char *s,*t;
s=(char*)malloc(2*sizeof(char));
t=(char*)malloc(2*sizeof(char));
printf("%x\n",s);
printf("%x\n",t);
}
打印的地址

430090
430060
我是小菜鸟
问他们相差多少字节啊
2005-12-08 11:46



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-37271-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.543154 second(s), 8 queries.
Copyright©2004-2025, BCCN.NET, All Rights Reserved