有以下程序#include <stdio.h> int

有以下程序

#include <stdio.h>
int fun(char s[])
 {
 int n=0;
 while(*s<='9'&&*s>='0')
{
 n=10*n+*s-'0';
 s++;
 }
 return (n);
 }
 main()
 {
 char s[10]={'6','1','*','4','*','9','*','0','*'};
 printf("%d\n",fun(s));
 }

程序的运行结果是(  )。

答案
B

题目信息

题号:4535
题型:单选题
难度:普通