求助哪位高手帮我看下下面3段程序的结果
1.While(true)
{
new char[4096];
sleep(100);
}
2.(loop为指针变量,已经定义过)
if(loop==null ||!strcmp(loop,"[local]"))
{
do something .....
}
else
{
do something.........
}
3.main()
{
int x=100,a=10,b=20;
int v1=5,v2=0;
if (a<b)
if(!v1)
x=1;
else
if(v2)
x=0;
x=1;
prontf("d",x);
}
本人刚刚学,感激不尽~~~