![](http://static.sotiji.com/static/index/img/search_icon.png)
下面程序的运行结果是( )。 #include<stdio.h> main() { static char a[]="Languagef" ,b[]=" programe"; char*p1,*p2;int k; p1=a;p2=b; for(k=0;k<=7;k++) if(*(p1+k)==*(p2+k)) printf("%c",*(p1+k));}
A.gae
B.ga
C.Language
D.有语法错
在面向对象的设计中,用来请求对象执行某—处理或回答某些信息的要求称为【】。
以下程序的输出结果是main(){ int x=0; sub(&x,8,1); printf("%d\n",x);}sub(int *a,int n,int k){ if(k<=n) sub(a,n/2,2*k); *a+=k;}
表达式Int(-15.8)+Fix(-15.8)+Int(15.8)+Fix(15.8)的运算结果是()。1.20-1
A.实体完整性约束
B.参照完整性约束
C.属性完整性约束
D.用户自定义的完整性约束