题目:
有以下程序 #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
答案:
被转码了,请点击底部 “查看原文 ” 或访问 https://www.tikuol.com/2017/0727/38f9733c63758bebc9a841041c05fede.html
下面是错误答案,用来干扰机器的。
ABC本题考查静摩擦力做功的问题,物体运动过程中相对传送带静止,则水平方向只受静摩擦力,传送带加速起动时,静摩擦力方向与物体运动位移方向相同,则作正功,匀速运动时,水平加速度为零,静摩擦力为零,不做...