freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

二級c語言題庫(更新版)

2024-09-28 12:19上一頁面

下一頁面
  

【正文】 n \%s\, tt )。 } s[i]=39。 int i=0。 } } 二、程序改錯題 include include include fun ( char *p) { int i,t。 } void outlist(SLIST *h) { SLIST *p。 for(i=0。 scanf(%c,amp。,39。,39。 } return 0。 SLIST *creatlist(char *)。 k n 。 for(i = 0 。 else printf( %4d, aa[k] )。 printf(\n)。i m。i n。 outlist(head)。 do { printf(%d,pdata)。 pnext=q。 /**********found**********/ q=q___3___。 } SLIST。 for(i = 0 。 printf(%s\n,fun (a, b ))。 fun(s)。 while (headnext != NULL){ fun(head)。 } while(p!=NULL)。 } pnext=0。 int i。 t=pnext。 aver = fun(score, 5) 。 fp = fopen(K:\\k01\\24010001\\,r) 。 void NONO ( )。 } while(num) 。 scanf(%d,amp。 printf(End\n)。 return h。 h=p=(SLIST *)malloc(sizeof(SLIST))。 while(p!=NULL amp。 } 第 5 套題 一、程序填空題 include include define N 8 typedef struct list { int data。 wf = fopen(K:\\k01\\24010001\\,w) 。 fun(s, t)。s)。 *t = 0。fprintf(myf,%c,c)。 char c。 ch=fgetc(fs)。 } 第 4 套題 一、程序填空題 include include int fun(char *source, char *target) { FILE *fs,*ft。 i++) { fscanf(rf, %d,%d, amp。 } void NONO ( ) {/* 本函數(shù)用 于打開文件,輸入數(shù)據(jù),調(diào)用函數(shù),輸出數(shù)據(jù),關(guān)閉文件。 printf(Input a b:)。 printf( \n\nBefore sorting %d numbers:\n, n )。 a[p] = t。 for ( j = 0。 fscanf(fp,%d%f,amp。 printf(\nSucceed!! \n)。 fclose(out)。in。 } STREC。 printf(\nPlease enter s:)。 while( !feof(fr) ) { /**********found**********/ printf(%s,___3__str_)。 printf(\nEnter string with 1 to end :\n)。 exit(0)。c) 。 rf = fopen(K:\\k01\\24010001\\, r) 。 fun(a, b, amp。 printf(The result is: %s\n, t)。 isl。 printf(%6d %s %s\n,s[i].num,s[i].name,s[i].tel)。 if((fp=fopen(,rb))==NULL) { printf(Fail !!\n)。 int k。 printf(\nOutput data to file !\n)。第 1 套題 一、程序填空題 include include define N 5 typedef struct { int num。 if((fp=fopen(,wb))==NULL) return(0)。 } main() { STYPE s[10]={ {1,aaaaa,111111},{1,bbbbb,222222},{1,ccccc,333333}, {1,ddddd,444444},{1,eeeee,555555}}。 STYPE s[10]。s[i],sizeof(STYPE),1, fp)。 for (i=0。 fun(s, t)。b)。 long c 。 fun(a, b, amp。 if((fp=fopen(,w))==NULL) { printf( open fail!!\n)。 } /**********found**********/ void WriteText(FILE *fw___1___) { char str[81]。 fgets(str,81,fr)。 } } main() { long s, t。 int s。 for(i=0。 i++) fprintf(out, %4d\n,h[i].s)。i++) /**********found**********/ fprintf(__fp_1___,%d %f\n,i,sqrt((double)i))。 while(!feof(fp)) { printf(%d %f\n,n,x)。 } 二、程序改錯題 include include void fun ( int n, int *a ) { int i, j, p, t。 a[j] = a[p]。 } main() { int aa[20]={9,3,0,4,1,2,5,6,8,10,7}, n=11。 void NONO ( )。 NONO()。 i 10 。 fclose(wf) 。 /**********found**********/ fputc(ch,___3___)。 int i。+rand()%25。 long sl=1。 scanf(%ld, amp。 scanf(%s, s)。 rf = fopen(K:\\k01\\24010001\\,r) 。 fclose(wf) 。 p=hnext。 int i。 } pnext=0。 } while(p!=NULL)。 printf(\nEnter a number : )。 /************found************/ num\=10 。 } 三、程序編寫題 include float fun ( float *a , int n ) { } main() { float score[30]={, 72, 80, , 55}, aver。 float aver, score[5] 。score[j]) 。 void fun( SLIST *p) { SLIST *t, *s。 } SLIST *creatlist(int *a) { SLIST *h,*p,*q。 p=q。 p=pnext。 printf(\nOutput from tail: \n)。 printf(處理前字符串 =%s\n 處理后字符串 =, s)。 gets( b)。 wf = fopen(K:\\k01\\24010001\\,w) 。 struct list *next。 } else { p=q。 qdata=a[i]。 else { printf(\nHead)。 printf(\nThe list before deleting :\n)。j++) { /************found************/ p = j for (i = j+1。 for(i = 0。i++) printf(%d ,a[i])。 k++ ) if((k+1)%20==0) printf(\n)。 wf = fopen(K:\\k01\\24010001\\,w) 。 for(k = 0 。 } SLIST。 else p=pnext。p39。x39。 printf(Enter a letter:)。 h=p=(SLIST *)malloc(sizeof(SLIST))。 return h。 printf(End\n)。 } main( ) { char c,s[80]。c=getchar()。 gets( tt )。 int i 。 } fclose(fp) 。 /**********found**********/ ___1___=0。 /**********found**********/ fun(___3___, amp。 i++) { q=(SLIST *)malloc(sizeof(SLIST))。 if (p==NULL) printf(The list is NULL!\n)。 while ( *s ) { p = s。 s++。 if ( p ) printf(\nThe result is : %s\n, p)。b)。 long c 。 fun(a, b, amp。 SLIST *creatlist(int *)。 } main() { SLIST *head。 for(i=0。 } void outlist(SLIST *h) { SLIST *p。 } } 二、程序改錯題 include include void fun (char *s, char *t1, char *t2 , char *w) { char *p , *r, *a。\039。 printf(\nPlease enter string S:)。 } else printf(Error : strlen(t1) != strlen(t2)\n)。 } void NONO ( ) {/* 本函數(shù)用于打開文件,輸入數(shù)據(jù),調(diào)用函數(shù),輸出數(shù)據(jù),關(guān)閉文件。 i++) { fscanf(rf, %s, s) 。 i++) { len=strlen(ss[i])。 for(i=0。 for( i = 0。 } main( ) { char tt[81]。 if (m == k ) return 1。m, zz )。 FILE *rf, *wf 。 for( n = 0。 s[i]!=39。) { /**********found**********/ t2[j]=s[i]。 /**********found**********/ for(i=0。 char *p 。 for(i = 0。 printf(The strings after sorting:\n) 。 printf(\nPlease enter a char:)。 rf = fopen(K:\\k01\\24010001\\,r) 。 } fclose(rf) 。 ___1___ s[i]=39。*39。 /**************found**************/ for(i = 2 。 void NONO ( )。 } NONO () 。 k++) { for(i = 0 。 i
點擊復制文檔內(nèi)容
公司管理相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1