你可能感兴趣的试题
08967 0894567 089567 089567
strcpy(s1,s2) strcpy(s1,"ABCDE"); s1="ABCDE"; for(i=0;i<6;i++)
s1=s2;
strcpy(s1,s2) strcpy(s1,"ABCDE"); s1="ABCDE"; for(i=0;i<6;i++)
s1[i]=s2[i];
strcpy(s1,s2) strcpy(s1,"ABCDE"); s1="ABCDE"; for(i=0;i<6;i++) s1[i]=s2[i];
strcpy(s1,s2) strcpy(sl,"ABCDE"); s1="ABCDE"; for(i=0;i<6;i++)
s1[i]=s2[i];
strcpy(s1,s2) strcpy(sl,"ABCDE"); s1="ABCDE"; for(i=0;i<6;i++) s1=s2;
iostreah iomanih istreah ostreah
while(ch=getchar()=='/NN')putchar(ch); while((ch=getchar())=='')putchar(ch); while((ch=getchar())!='/N')putchar(ch); while((ch=getchar())!='')putchar(ch);
while(ch=getchar()=='/N')putchar(ch); while((ch=getchar())=='')putchar(ch); while((ch=getchar())!='/N')putchar(ch); while((ch=getchar())!='')putchar(ch);
while(ch=getchar()=='/N')putchar(ch); while((ch=getchar())=='')putchar(ch); while((ch=getchar())!='/N')putchar(ch); while((ch=getchar())!='')putchar(ch);
08967 0894567 089567 089567
调用printf函数时,必须要有输出项 使用putchar函数时,必须在之前包含头文件stdioh 在C语言中,整数可以以十二进制、八进制或十六进制的形式输出 调用getchar函数读入字符时,可以从键盘上输入字符所对应的ASCⅡ码
scanf("%s",st for(i=0;i<9;i++)gethchar(st; gets(st; for(i=0;i<9;i++)scanf("%s",&st;
strcpy(s1,s2) strcpy(s1,"ABCDE"); s1="ABCDE"; for(i=0;i<6;i++)
s1[i]=s2[i];
strcpy(s1, s2) strcpy(s1, "ABCDE"); s1="ABCDE"; for(i=0; i<6; i++)s1[i]=s2[i]