填空题

执行以下程序段后,s的值为 【15】
static char ch[]="600";
int a,s=0;
for(a=0;ch[a]>=’0’&&ch[a]<=’9’;a++)
s=10*s+ch[a]-’0’;

【参考答案】

600