




版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報或認(rèn)領(lǐng)
文檔簡介
1、一、選擇題9、下列程序段運后變量S的值為( S=1 )。Int I,s=1;For(i=1;i<=6;i+)if(i%2)Continue;s+=I;S=110 、下列程序段的運行結(jié)果是( D )。Int a10=1,2,3,4,5,6,7,8,9,10;For(i=1;i<=6;i+)Ai+1=ai+1+1;For(i=0;i<10;i+)Printf(“%3d”,ai);A、3 4 5 6 7 8 9 10 9 10 B、2 3 4 5 6 7 8 9 9 10C、1 2 3 4 5 6 7 8 9 10 D、1 2 4 5 6 7 8 9 9 1011、若已定義二維數(shù)組
2、a33,設(shè)a00在數(shù)組中的位置為1,則a21在數(shù)組中位置應(yīng)是(C)。A、 9 B、 6 C、 8 D、712、下列程序段的運行結(jié)果是( C )Char str33=a,b,c,d,e,f,g,h,i;Str21=0;Printf(”%s”,str);A、abcdefg0i B、abcdefg0 C、abcdefg D、abcdefghi13、下列程序的運行結(jié)果是( A )。#include<stdio.h>Int num=20;Fun()int num=5;Return -num;Void main()fun();Printf(“%dn”,num);A、 20 B、 4 C、 19
3、 D、515、若已定義:int a34,*p=a; 則能表示數(shù)組元素 a12地址的是(C )。A、a12 B、p6 C、p+6 D、*(a1+2)16、下列程序段的運行結(jié)果是( D )。Int a=1,2,3,4,5,6,7,*p=a;Int n,s=0;For(n=0;n<6;n+) s+=pn+;Printf(“%d”,s);A、12 B、15 C、16 D、917、下列程序的運行結(jié)果是( B )。#include <stdio.h>Union datafloat I;Char c;Structchar a2;Int I;Union data d;q;Void main(
4、)printf(“%dn”,sizeof(q);A、6 B、8 C、7 D、518、下列程序段的執(zhí)行結(jié)果是( A )。Struct studentchar name;Int high;Int weight;a3=c,163,101,h,169,124,x,181,135;Struct student *p;Int I,sum=0;Float aver;P=a;For(i=0;i<3;i+)sum=sum+(p+i)->high;Printf(“%fn”,sum/3.0);A、171.0 B、97 C、89 D、120.019、在對無符號數(shù)的位運算中,操作數(shù)左移兩位相當(dāng)于(B )。A
5、、除以8 B、除以4 C、乘以8 D、乘以420、下列程序運行后,文件test.txt的內(nèi)容是( C )。#include<stdio.h>Main()File *fp;Char str10=“1 st”,”2 nd”;Fp=fopen(“test.txt”,”w”);If(fp!=NULL)Fprintf(fp,”%s”,str0);Fclose(fp);Fp=fopen(“test.txt”,”w”);If(fp!=NULL)Fprintf(fp,”%s”,str1);Fclose(fp);A、2 nd B、1 st C、1 st 2 nd D、2 nd 1 st23、若定義:
6、int x=3,y=2,k=5;則正確的表達(dá)式是( A )。A、x=y/2 B、x=y+1=8-k C、x=(y+,y+k) D、k=int(x/y)%1025、下列程序段的運行結(jié)果是( B )。A、+3=4 B、+k=4 C、+k=5 D、+k=327、設(shè)定義:float x=1.0 ,y=2.0;語句( )執(zhí)行后變量x值為3.0。A、x-=2*y B、x/=x+yC、x+=y D、x*=yA+=i; ; a+=2; a+;29、下列程序段的運行結(jié)果是( B )。Int a6=1,2,i;For (i=2;i<=6;i+)ai=ai-1+ai-2;For(i=0;i<6;i+)P
7、rintf(“%3d”,ai);A、1 2 3 4 5 6 B、1 2 3 5 8 13 C、1 2 3 5 6 7 D、1 2 3 4 5 631、下列程序段運行結(jié)果中變量b的值是(D )。Int b=3;Char s1=”action”,s2=s1;b=strcmp(s1,s2);A、0 B、 1 C、3 D、-1A、7 B、5 C、4 D、334、下列程序的運行結(jié)果是( B )。Main( )char a=”cba”,*p;For(p=a;p<a+2;p+)Printf(“%s”,p);A、abcdcc B、cbaba C、cbabaa D、cba35、若定義;Struct stu
8、dentint num;Int age;Struct student s3=301,18,302,21,303,19;Struct student *p=s;則表達(dá)式的值為21的是(D )。A、(p+)->age B、(*+p).age C、(*P+).age D、*(+P)->age36、若定:int m=12,n=10,k;語句k=m&n;執(zhí)行后k的值為(D )。A、14 B、6 C、2 D、839、語句(D )符合C語言語法。A、int a=b=c=25 B、int a=25,b=25+(c=25 ) C、int a=25,b=c=a; D、int a,b=25,c;
9、42、若定義:char c;int a;float x; double y;則表達(dá)式c*a+x-y值的數(shù)據(jù)類型 ( B )A、float B、double C、char D、int45、下列程序段執(zhí)行后p的值是(C )。Int a33=3,2,1,3,2,1,3,2,1;For(i=0;i<3;i+)For(j=i+1;j<3;j+)P*=aij;A、108 B、12 C、2 D、1846、下列程序段的運行結(jié)果是(B )。Char str80;Strcpy(str,”university”);Printf(“%d”,strlen(str);A、8 B、10 C、117D、947、下
10、列敘述正確的是(A )。A、#define是宏定義命令 B、程序中使用帶參數(shù)的宏時,參數(shù)類型要與宏定義時一致C、宏名只能包含大寫字母和數(shù)字字符 D、編譯預(yù)處理命令行必須以分號結(jié)束48、若有下列程序段,則敘述正確的是( D )。Char a=“fujian“;Char *p;P=a;A、數(shù)組a的長度和p所指向的字符串長度相等B、數(shù)組a中的內(nèi)容和指針變量p中的內(nèi)容相等C、a和p完全相同 D、*p與a0相等49、下列程序段的執(zhí)行結(jié)果是( B )。Typedf union int age;char name10;float weight;class;Struct animalint cat;Class
11、 dog;double ani;zoon;Class one;Printf(“%d”,sizeof(struct animal)+sizeof(Class);A、20 B、30 C、22 D、1050、若定義:int I;enum colorsred,green,blue black;Int a3;( C )是對以下正確語句的正確判斷。Ared=black; /*語句1*/I=green+blue; /*語句2*/Red=1; /*語句3*/A、語句1正確,語句2和語句3錯誤 B、語句2和語句3正確,語句1錯誤C、語句1和語句3正確,語句2錯誤 D、語句1和語句2正確,語句3錯誤51、下列程序
12、段的運行結(jié)果是(A )。#include <stdio.h>Main( )File *fp;Int a=3,b=5,c=8,k,n;Fp=fopen(“test.dat”,”w”);Fprintf(fp,”%dn”,a);Fprintf(fp,”%d %dn”,b,c);Fclose(fp);Fp=fopen(“test.dat“,“r“);Fscanf(fp,”%d*%d*%d”,&k,&n);Printf(%d %dn“,k,n);Fclose(fp);A、3 5 B、5 3 C、8 3 D、3 855、若已定義:char c=M;則正確的賦值表達(dá)式是(A )。
13、A、c=0x2m B、c=c%3 C、c=c+029 D、c%=2.656、下列程序段的運行結(jié)果是( A )。Void main( )int x,y,z;X=y=1 z=2 If( !x)+z Else if( !(x-y)Z=3+z Else if(y)Z+;ElseZ+=13;Printf(“%dn”,z);A、5 B、15 C、8 D、357、下列程序段運行后變量m的值為(A )。Int i,j,m=0;For(i=1;i<=2;i+)For(j=1;j<=3;j+=2)M=m+i+j;A、14 B、10 C、12
14、D、1358、若定義二維數(shù)組a33,設(shè)a00在數(shù)組中的位置為1,則a21在數(shù)組中位置應(yīng)是( D )。A、6 B、9 C、7 D、859、若已定義:Char str120=“university”,str220;則( B )語句是正確的。A、str2=str1 B、printf(“%c”,str1);C、if(str1+20= =str2) printf(“#n”);D、scanf(“%s”,str2);60、下列程序的運行結(jié)果是( )。#include <stdio.h>Int fun(int a44) int I;For(i=0;i<4;i+)Printf(“%2d”,ai
15、1);Printf(“n”);Main( ) int a44=1,2,2,3,1,0,0,0,2,1,0,0,0,1,9,8;Fun(a);答案:2 0 1 161、下列敘述錯誤的是(C )。A、宏名可以用小寫字母表示 B、編譯預(yù)處理命令行都必須以#號開始C、宏定義只能用大寫字母表示D、使用預(yù)處理命令“#include<文件名>”時,編譯系統(tǒng)只在指定的系統(tǒng)目錄下查找該文件62、下列程序的運行結(jié)果是( A )。#include <stdio.h>Void main( )char *p=”Chinese”,*q=p+4;Printf(“%cn”,q-1);A、n B、s C
16、、e D、i63、下列程序段的運行結(jié)果是( B )。#include <stdio.h>Void main( )struct char x1; int x2;a3=A,1,B,2,c,3;Printf(“%dn”,a0,x1-a1.x1/a2.x2);A、55 B、43 C、80 D、4064、若有如下類型說明,則( B )是錯誤的敘述。Typedef struct int no;Char *name;Int cj;STU,*p;A、STU是一個結(jié)構(gòu)體類型名 B、p是一個結(jié)構(gòu)體類型名C、no是結(jié)構(gòu)體類型STU的成員 D、p是指向結(jié)構(gòu)體類型STU的指針類型名65、若文本文件data.
17、txt的內(nèi)容為”University”(不包含引號),則下列程序段的運行結(jié)果是( B )。File *fp;Char *str;If(fp=fopen(“data.txt”,”r”)!=NULL)fgets(str,6,fp);Printf(“%s”,str);A、Unive B、Univer C、Universiyt D、Univ66、若已定義:char c=B;int a=8; float x=10.3;則表達(dá)式c%a+x的值是( D )。已知A的ASCII碼的十進(jìn)制值為65A、18.3 B、10 C、12 D、12.367、若已定義:int s34=1,2,0,1,3,4,5;則s22的
18、值是( B )。A、 3 B、 1 C、5 D、468、下列程序的運行結(jié)果是( B )。#include <stdio.h>Fun(m)int m=3;M=+I;Printf(“%d”,m);Main()int m=9,n=6;Fun(n);Printf(“%d”,m);A、 9 7 B、7 9 C、6 6 D、6 769、編譯預(yù)處理命令的位置可以在( C )。A、主函數(shù)內(nèi) B、print();語句中 C、文件開頭 D、自定義函數(shù)內(nèi)70、若已定義:int *p1,*p2;則( B )是無效的指針運算。A、P1-p2 B、p1+p2 C、p1<p2 D、p1>p271、當(dāng)
19、文件正常關(guān)閉時,fclose( )函數(shù)的返回值是(D )。A、-1 B、一個非0值 C、1 D、072、結(jié)構(gòu)化程序設(shè)計三種基本結(jié)構(gòu)中,不包含( C )。A、循環(huán)結(jié)構(gòu) B、順序結(jié)構(gòu) C、嵌套結(jié)構(gòu) D、選擇結(jié)構(gòu)73、下列選項中,均為合法整型常量的是( C )。A、120 B、170 C、-190 D、0x2h-012 -018 013 210x12 0x18 1e3 02574、若定義:int a,b,c;則逗號表達(dá)式a=10,b=23,c=a+b的值為( D )。A、23 B、66 C、10 D、3375、putchar( )函數(shù)的功能是向終端輸出( A )。A、單個字符 B、字符串 C、一串?dāng)?shù)
20、字 D、一個實型變量的值76、能對二維數(shù)組a進(jìn)行正確的初始化的語句是( C )。A、int a24=1,2,3,4,5,6 B、int a3=1,2,3,5,6C、int a3=1,2,3,4,5 D、int a2=1,2,3,0,577、下列程序段執(zhí)行后s的值是( B )。Int k,s=0;Int a33=11,12,13,14,15,16,17,18,19;For(k=0;k<2;k+)S+=akk+1;A、45 B、28 C、76 D、3178、下列程序的運行結(jié)果是( A )。#include <stdio.h>Int fun(int a,int b) return(
21、a*b);Main( )int x=15,y=2,z;Z=fun(x,y);Printf(“%d*%d=%dn”,x,y,z);A、15*2=30 B、x*y=30 C、0 D、3079、若有定義Struct studentint num;Char sex;Int age;stu1;下列敘述錯誤的是(B)。、Su1是用戶定義的結(jié)構(gòu)體類型變量名、struct student是結(jié)構(gòu)體類型名C、num,sex,age都是結(jié)構(gòu)體變量stu1的成員 D、student是結(jié)構(gòu)體類型名80、若定義;enum t1a1,a2=10,a3,a4=13;則枚舉常量a2和a3的值分別是( C )。A、1和2 B、2
22、和3 C、10和11 D、10和281、若定義:Typedef unionchar name10;Int age;ustu,*uyour;下列敘述錯誤的是( B )。A、ustu是一個共用體類型名 B、uyour是一個共用體類型名C、age是共用體類型ustu的成員 D、uyour是指向共用體類型ustu的指針類型名82、若已定義:int a=7,b=6;float m=1;則正確的表達(dá)式是( C )。A、(a+b)+ B、m=float(a)/b C、a=(b!=5) D、(a+b)*=m83、若定義:int i=1,j=3;則表達(dá)式(+i)+(j-)的值為( B )。A、3 B、5 C、2
23、 D、484、若定義:int a=1,b=2,c=3;則表達(dá)式b>=a&&(a+b)<=c的值為( C )。A、3 B、2 C、1 D、085、為避免在嵌套的條件語句if.else 中產(chǎn)生二義性,C語言規(guī)定,else子句總是與( B )。配對。A、縮進(jìn)位置相同的if B、其之前最近的未配置if C、其之后最近的if D、同一行上的if86、下列敘述中錯誤的是( D )。A、在程序中凡是以#號開始的語句都是預(yù)處理命令行 B、預(yù)處理命令行都必須以#號開始C、下列是正確的宏定義:define R 45 D、C程序在執(zhí)行過程對預(yù)處理命令行進(jìn)行處理87、若定義:int x=8
24、,y=7;語句printf(“%d+%d=%dn”,x,y,x+y);執(zhí)行后的輸出結(jié)果是( D )。A、7+8=15 B、8*7 C、15 D、8+7=1588、下列程序的運行結(jié)果是(B )。Main( )static char a=”bacdefg”,b=”adcbehg”;Char *p=a,*q=b;Int I;For(i=0;i<=6;i+)If(*(p+i)= =*(q+i)Printf(“%c”,*(q+i);A、fdb B、ceg C、geca d、aceg90、下列程序段運行后變量s的值為( C ).Int a=1,2,3,4,5,6,7;Int I,s=1,*p;P=&
25、amp;a2;For(i=0;i<4;i+)S*=*(p+i);A、210 B、60 C、360 D、12093、下列程序段的運行結(jié)果是(D )。Char a=”student”;Char b=”work”;Strcpy(a,b);Printf(“%s %c”,a,a5);A、stud n B、stud C、work D、work n94、對于下列程序段,敘述正確的是( A )。Int a=2;Doa+=2;while(!(a!=0);A、循環(huán)執(zhí)行1次 B、有語法錯誤 C、循環(huán)執(zhí)行2次 D、是無限循環(huán)95、若已定義:Typedef struct stuint num;Char name2
26、0;STU;則正確的語句是(D )。A、stu dd2=1,”chen”,2,”li” B、struct stu bb2=1,chen,2,liC、StU aa2=1,chen,2,li D、STU cc2=1,”chen”,2,”li”二、填空題#include "stdio.h"main()double pi=0; long i, sign=1; for(i=1;i<=10001;i+=2) pi+=1.0*sign/i; sign=/*/ /*/; pi*=/*/ /*/; printf("%fn",pi);答案: #include &quo
27、t;stdio.h"main()double pi=0; long i, sign=1; for(i=1;i<=10001;i+=2) pi+=1.0*sign/i; sign=/*/ sign*(-1) /*/; pi*=/*/ 4 /*/; printf("%fn",pi);#include <stdio.h>#include <math.h>void main() int x; /*/ /*/ printf("Input an integer: "); scanf("%d",&x)
28、; f = /*/ /*/ ; printf("F(x)=%fn",f); getch();答案:#include <stdio.h>#include <math.h>void main() int x; /*/float f; /*/ printf("Input an integer: "); scanf("%d",&x); f = /*/(abs(x)-2)/(pow(x,2)+1); /*/ ; printf("F(x)=%fn",f); getch();#include &l
29、t;stdio.h>#include <string.h>int count(/*/ /*/) int n=0; char *p=/*/ /*/; while(*p) if(*p='a') n+; /*/ /*/; return n; void main() char s255; printf("Enter a string:"); gets(s); printf("Count of a is:%dn",count(s); getch();答案:#include <stdio.h>#include <s
30、tring.h>int count(/*/ char a /*/) int n=0; char *p=/*/ a /*/; while(*p) if(*p='a') n+; /*/ p+ /*/; return n;void main() char s255; printf("Enter a string:"); gets(s); printf("Count of a is:%dn",count(s); getch();#include <stdio.h>void main() int i,n; /*/ /*/; for
31、(i=1;i<=/*/ /*/ ;i+) if( (i%3=0 | i %7=0) && ( i% /*/ /*/ =3 ) ) printf("%5d",i); n+; if(n%6=0) printf("n"); getch();答案:#include <stdio.h>void main() int i,n; /*/ n=0 /*/; for(i=1;i<=/*/1000 /*/ ;i+) if( (i%3=0 | i %7=0) && ( i% /*/10 /*/ =3 ) ) printf
32、("%5d",i); n+; if(n%6=0) printf("n"); getch();#include <stdio.h>#include <math.h>void sort(int a, int n) int i, j, k, temp; for( i = 0; i < n-1; i+ ) k = i; for(/*/ /*/; j< n; j+) if(/*/ /*/) k=j; if( k != i ) temp=/*/ /*/; ak=ai; ai=temp; void main() int a = 50
33、,25,88,32,2,65,7,64; int i,n = sizeof(a)/sizeof(int); sort(a,n); for(i=0;i<n;i+) printf("%d ",ai); printf("n"); getch();答案:#include <stdio.h>#include <math.h>void sort(int a, int n) int i, j, k, temp; for( i = 0; i < n-1; i+ ) k = i; for(/*/ j=i+1 /*/; j< n;
34、j+) if(/*/ ak<aj /*/) k=j; if( k != i ) temp=/*/ ak /*/; ak=ai; ai=temp; void main() int a = 50,25,88,32,2,65,7,64; int i,n = sizeof(a)/sizeof(int); sort(a,n); for(i=0;i<n;i+) printf("%d ",ai); printf("n"); getch();#include<stdio.h>#include/*/ /*/double f(double x)dou
35、ble y; y=/*/ /*/; return (y); void main()double x,y1,y2; printf("Please input x:"); scanf("%lf",&x); y1=f(/*/ /*/); y2=f(sin(x); printf("nf(x+1.1)=%.3lf",y1); printf("nf(sinx)=%.3lf",y2); getch();答案:#include<stdio.h>#include/*/ "math.h" /*/
36、double f(double x)double y; y=/*/ 7.7*(x*x)+10.3*x+6.6 /*/; return (y);void main()double x,y1,y2; printf("Please input x:"); scanf("%lf",&x); y1=f(/*/ x+1.1 /*/); y2=f(sin(x); printf("nf(x+1.1)=%.3lf",y1); printf("nf(sinx)=%.3lf",y2); getch();#include"
37、;stdio.h"#define ROW 3#define COL 4void main()int aROWCOL=2,11,3,5,7,24,8,9,16,10,18,66; int bROWCOL=1,9,5,12,6,11,13,2,15,7,25,56; int c/*/ /*/COL,i,j; for(i=0;i<ROW;i+) for(j=0;j<COL;j+) cij=/*/ /*/ for(i=0;i<ROW;i+) for(j=0;j</*/ /*/;j+) printf("%5d",cij); printf("
38、n"); getch();答案:#include"stdio.h"#define ROW 3#define COL 4void main()int aROWCOL=2,11,3,5,7,24,8,9,16,10,18,66; int bROWCOL=1,9,5,12,6,11,13,2,15,7,25,56; int c/*/ ROW /*/COL,i,j; for(i=0;i<ROW;i+) for(j=0;j<COL;j+) cij=/*/ aij-bij; /*/ for(i=0;i<ROW;i+) for(j=0;j</*/ COL
39、 /*/;j+) printf("%5d",cij); printf("n"); getch();#include <stdio.h>#include <conio.h>void main() char s20; int i; printf("Please input a string:"); scanf(/*/ /*/,s ); i=0; while(si) si=/*/ /*/ /*/ /*/ printf("n Target string: %sn", s); getch(); 答案:
40、#include <stdio.h>#include <conio.h>void main() char s20; int i; printf("Please input a string:"); scanf(/*/ "%s" /*/,s ); i=0; while(si) si=/*/ si3; /*/ /*/ i+; /*/ printf("n Target string: %sn", s); getch(); #include <stdio.h>unsigned long fun(unsign
41、ed long n) unsigned long x=0;int t=0; while(n) t=n%10; if(t%2=/*/ /*/) x=/*/ /*/+t; n=n/10; return x; void main() unsigned long n=-1; while(n>99999999|n<0) printf("Please input(0<n<1000000000):"); scanf("%ld",&n); printf("nThe result is:%ldn",fun(n); get
42、ch();答案:#include <stdio.h>unsigned long fun(unsigned long n) unsigned long x=0;int t=0; while(n) t=n%10; if(t%2=/*/ 1 /*/)x=/*/ x*10 /*/+t; n=n/10; return x;void main() unsigned long n=-1; while(n>99999999|n<0) printf("Please input(0<n<1000000000):"); scanf("%ld"
43、;,&n); printf("nThe result is:%ldn",fun(n); getch();#include <stdio.h>#include <math.h>double f(double /*/ /*/)return (x*x*x+1.3*x*x+1.1*x-1.2);void main()float x,x1,x2; double y,y1,y2; do printf("Input x1,x2:"); scanf("%f,%f",&x1,&x2); y1=f(x1);
44、 y2=f(x2); while(y1*y2>=0); do x=(x1+x2)/2; y=/*/ /*/ (x); y1=f(x1); if(y*y1>0) x1=x; else x2=/*/ /*/; while(fabs(y)>=1e-6); printf("Root of Equation is %8.3fn",x); getch();答案:#include <stdio.h>#include <math.h>double f(double /*/ x /*/)return (x*x*x+1.3*x*x+1.1*x-1.2)
45、;void main()float x,x1,x2; double y,y1,y2; do printf("Input x1,x2:"); scanf("%f,%f",&x1,&x2); y1=f(x1); y2=f(x2); while(y1*y2>=0); do x=(x1+x2)/2; y=/*/ f /*/ (x); y1=f(x1); if(y*y1>0) x1=x; else x2=/*/ x /*/; while(fabs(y)>=1e-6); printf("Root of Equation i
46、s %8.3fn",x); getch();#include<stdio.h>void main() int p,q,r; float f; clrscr(); printf("Please input p q :"); scanf("%d%d",/*/ /*/); f=1.0*p/q; r= (int)/*/ /*/%10; printf("n p/q=%f The first decimal place is: %dn",f,r); getch();答案:#include<stdio.h>void
47、 main() int p,q,r; float f; clrscr(); printf("Please input p q :"); scanf("%d%d",/*/ &p,&q /*/); f=1.0*p/q; r= (int)/*/ ( f*10) /*/%10; printf("n p/q=%f The first decimal place is: %dn",f,r); getch();#include <stdio.h>void main() long f=/*/ /*/; int i; for
48、 (i=1;i<=13;/*/ /*/) f=f*i; printf("nf=%ld", f); getch(); 答案:#include <stdio.h>void main() long f=/*/ 1.0 /*/; int i; for (i=1;i<=13;/*/ i=i+2 /*/) f=f*i; printf("nf=%ld", f); getch(); 三、改錯題#include <math.h>#include <stdio.h>#include <string.h>#inclu
49、de <conio.h>void main() char str1100, t200; int i, j; /*/ i = 0; /*/ clrscr(); strcpy(str1, "4AZ18c?Ge9a0z!"); for (i = 0; i<strlen(str1); i+) /*/ if (str1i %2= 0) && (i%2!=0) /*/ tj = str1i; j+; tj = '0' printf("n源字符串為: %sn", str1); printf("n滿足條件的字符
50、有: %sn", t);答案:#include <math.h>#include <stdio.h>#include <string.h>#include <conio.h>void main() char str1100, t200; int i, j; /*/ j = 0; /*/ clrscr(); strcpy(str1, "4AZ18c?Ge9a0z!"); for (i = 0; i<strlen(str1); i+) /*/ if (str1i %2= 0) && (i%2=0) /*/ tj = str1i; j+; tj = '0' printf("n源字符串為: %sn&
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 懸疑劇情短視頻定制服務(wù)合同
- 兼職銷售合同糾紛案例分析
- 廣告位互換合同協(xié)議版
- 物流企業(yè)間合作合同樣本
- 股東間合作發(fā)展合同書
- 兼職保密合同模板與范文
- 土地開發(fā)合同范本:施工細(xì)節(jié)
- 4 我們的公共生活 第一課時 教學(xué)設(shè)計-2023-2024學(xué)年道德與法治五年級下冊統(tǒng)編版
- 10日月潭 教學(xué)設(shè)計-2024-2025學(xué)年語文二年級上冊統(tǒng)編版
- Unit 1 Making friends PartB Let's learn(教學(xué)設(shè)計)-2024-2025學(xué)年人教PEP版(2024)英語三年級上冊
- 2025年二級建造師聘用合同范文(三篇)
- 湖北省2025屆高三T8聯(lián)盟模擬考數(shù)學(xué)試卷(解析版)
- 2025年北京電子科技職業(yè)學(xué)院高職單招職業(yè)技能測試近5年??及鎱⒖碱}庫含答案解析
- 2025年包頭輕工職業(yè)技術(shù)學(xué)院高職單招職業(yè)技能測試近5年??及鎱⒖碱}庫含答案解析
- 中國高血壓防治指南(2024年修訂版)
- GB/T 4340.1-2024金屬材料維氏硬度試驗第1部分:試驗方法
- 生物補(bǔ)片及相關(guān)應(yīng)用進(jìn)展課件
- 參保人員就醫(yī)流程doc
- 2019湘美版五年級《書法練習(xí)指導(dǎo)》下冊教案
- 東南大學(xué)建筑學(xué)專業(yè)課程設(shè)置
- Q∕CR 562.2-2017 鐵路隧道防排水材料 第2部分:止水帶
評論
0/150
提交評論