1. | 0x20 , & 0x20 ,~0x20
2.5 , 6 6 5 , 5 strlen判断字符串长度不包括\0
3.tmpInfo1.height=1; tmpInfo1.base.with=2
tmpInfo2.height=1; tmpInfo2->base.with=2;
tmpInfo3->height=1; tmpInfo3->base.with=2;
4.9
5. int tmp = 0x80000000;
buf=tmp;
char* buf[i]=(char*)malloc(sizeof(char));
6.seqn[tail]=data; taile=(tail+1)%SEQLEN;
data=seqn[head]; head=(head+1)%SEQLEN;
head==tail;
head==(tail+1)%SEQLEN;
memset(seqn,0,sizeof(seqn));
(tail-head+SEQLEN)%SEQLEN;
SEQLEN-1;
7.Rdy[i]=1;
Rdy[j]=0;
int i;
for(i=0;i<64;i++)
{
if(Rdy[i]==1)
{
printf("%d",i);
}
}
return 0;
8.对指针赋值直接写指针名字即可。
value=0
9.代码对常量进行修改,会报段错误;
10.申请的堆空间不够 p=(char*) malloc(11);
数据结构第六天作业
最新推荐文章于 2024-05-22 10:59:33 发布