例如
char sBuff[100];
while(true){
对sBuff进行赋值
if(true){
清空字符数组sBuff
}
};
memset(sBuff,0,sizeof(sBuff));
or
sBuff[0]='/0';
char sBuff[100];
while(true){
对sBuff进行赋值
if(true){
清空字符数组sBuff
}
};
memset(sBuff,0,sizeof(sBuff));
or
sBuff[0]='/0';