#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);}