神马品牌网是一部内容开放、自由的互动网络百科全书客观、专业、权威的知识性百科全书
来源:百度文库 编辑:神马品牌网 时间:2024/05/12 12:28:53
#include “stdio.h”main( ){ static char x[4];char *p=x;int s=0;gets(p);while(*p!=’\0’){s=s*10+*p-‘0’;p++;}printf(“%d”,s);}