16.若有以下程序段:int a=1,b=2,c; c=a/b*a; 则执行后,c中的值是
2个回答
2016-01-07
展开全部
int cds(const char *p)
{
char path[PATH_SIZE];
char *start;
char *end;
int res;
int n= 0;
memset(path,'\0',PATH_SIZE); // must init ,ohtrway there is a wrong result with @
start = strchr(p,' ');
end = strchr(p,'\n');
if(!start || !end)
{
printf("can't support this format \n");
return 1;
}
{
char path[PATH_SIZE];
char *start;
char *end;
int res;
int n= 0;
memset(path,'\0',PATH_SIZE); // must init ,ohtrway there is a wrong result with @
start = strchr(p,' ');
end = strchr(p,'\n');
if(!start || !end)
{
printf("can't support this format \n");
return 1;
}
本回答被网友采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询