题目内容
有下列程序:#include int fun(char s[]){ int n = 0;while(*s<='9'&&*s>='0') {n=10*n+*s-'0'; s++;}return(n);}void main( ){ char s[10] ={'6','1','*','4','*','9','*','0','*'};printf("%d\n",fun(s));}程序运行结果是( )。
查看答案
搜索结果不匹配?点我反馈
更多问题