[单选题]

有以下程序 include int fun(char s[]) { int n=O; whil

有以下程序 #include <stdio.h> int fun(char s[]) { int n=O; 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)); }

A.9

B.61490

C.61

D.5

参考答案与解析: