有下面代码: int s1=199; int s2=10; int s3=s1%s2;则s3的值为:
举一反三
- 已知: 则在横线处添加哪些代码b的值为true() A: s1==s B: s2==s C: s3==s D: s.equals(s1)
- 执行以下程序的结果为_____。#include <;stdio.h>;int f(int m){static int k=0;int s=0;k=k+m;s=s+k;return s;}main( ){int s1, s2;s1=f(5);s2=f(5);printf("%d %d\n", s1, s2);} A: 5 5 B: 5 10 C: 10 5 D: 10 10
- 平衡设计模式是() A: S(X-O) B: S(O1-O2-O3-X-O4-O5-O6) C: S1(O1-X-O2)S2(O3--O4) D: S1(X1-O1-X2-O2-X3-O3);S2(X1-O4-X2-O5-X3-O6);S3(X1-O7-X2-O8-X3-O9)
- 平衡设计模式是() A: S(X-O) B: S(O1-O2-O3-X-O4-O5-O6) C: S1(O1-X-O2)S2(O3--O4) D: S1(X1-O1-X2-O2-X3-O3);S2(X1-O4-X2-O5-X3-O6);S3(X1-O7-X2-O8-X3-O9)
- 设s="abcd",s1="123",则执行语句s2=InsStr(s,2,s1)后,s2=()