以下选项中,能用作数据常量的是( )。
- A.115L
- B.0118
- C.1.5e1.5
- D.o115
热度🔥477
解析:打开微信小程序查看本题解析
有以下程序
#include
int fun( char s[])
{ int n=0;
while(*s ='0') { n=10*n+*s-'0' ; s++; }
return (n);
}
main()
{ char s[10]={ '6', '1', '*', '4', '*', '9', '*', '0', '*'};
printf("%d\n",fun(s));
}
程序的运行结果是
有以下程序
#include
main()
{ int i, t[][3]={9,8,7,6,5,4,3,2,1};
for(i=0;i<3;i++) printf("%d ",t[2-i][i]);
}
程序执行后的输出结果是
在软件开发中,需求分析阶段可以使用的工具是( )。