用 二维表格 来表示实体及实体之间联系的数据模型是( )
A. 关系模型
B. 层次模型
C. 网状模型
D. E R 模型
查看答案
#include struct STU{ char num[10]; float score[3];};main(){ struct STU s[3]={{"20021",90,95,85}, {"20022",95,80,75},{"20023",100,95,90}},*p;int i; float sum=0;p=s+1;for(i=0;i<3;i++) sum=sum+p->score[i]; printf("%6.2f\n",sum);}The result of this program run is ______ .
#include void ss(char *s,char t) { while(*s) { if(*s==t) *s=t-'a'+'A'; s++;}} main(){ char str1[100]="abcddfefdbd",c='d';ss(str1,c);printf("%s\n",str1);}What will you see after this program is run? ______
#include int b=0;main( ){ int i ; int f( int a);for(i=0;i<3;i++) printf("%d ",f(i) ) ; }int f( int a){ int c=3; b++; c++; return(a+b+c); }what will you get if this program is run? ______
#include main(){ int a[10]={1,2,3,-4,5,6,7,-8,9,10},s=0;for(int i=0;i<10;i++) if (a[i]<0) s+=a[i]; printf("%d",s);}The result of this program excuted is ______