网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
阅读下面程序,则执行后的结果是 #include"stdio.h" main() { char str[]="tomeetme",*p; for(p=str;p<str+7;p+=2)putchar(*p); printf("\n");} .
A.tomeetme
B.tmem
C.oete
D.tome
参考答案
更多 “ 阅读下面程序,则执行后的结果是 #include"stdio.h" main() { char str[]="tomeetme",*p; for(p=str;p<str+7;p+=2)putchar(*p); printf("\n");} .A.tomeetmeB.tmemC.oeteD.tome ” 相关考题
考题
下面程序的输出结果是includeincludemain(){char *pl="abc",*p2="ABC",str
下面程序的输出结果是 #include<stdio.h> #include<string.h> main() { char *pl="abc",*p2="ABC",str[50]="xyz"; strcpy(str+2,strcat(p1,p2)); printf("%s\n",str);}A.xyzabcABCB.zabcABCC.xyabcABCD.yzabcABC
考题
阅读下面程序,则执行后的结果是#include "stdio.h"main(){char str[]="tomeetme",*p;for(p=str;pstr+7;p+=2) putchar(*p);printf("\n");}A.tomeetmeB.tmemC.oeteD.tome
考题
以下程序的输出结果是【 】。includeincludechar*fun(char*0{ char *p--t;retur
以下程序的输出结果是【 】。include <stdio.h>include <string.h>char *fun(char *0{ char *p--t;return (p+strlen(t)/2);}main(){ char *str="abcdefgh";str=ftm(str);puts(str);}
考题
有以下程序#include "stdio.h"main() { char str[]="tomeetme",str1[]="toseeyou"; char *p=str,*p1=str1; int i; for(i=0;i if(*(p+i)==*(p1+i)) putchar(*(p+i)); printf("\n");}程序的运行结果是A.to B.tomeetC.toeeD.程序段不能通过编译
考题
阅读下面程序,则执行后的结果是#include "stdio.h"main(){ char str[]="tomeetme",*p;for(p=str;pstr+7;p+=2)putchar(*p);printf("\n");}A.tomeetmeB.tmemC.oeteD.tome
考题
阅读下面程序,则执行后的结果是 #include"stdio.h" main() { char str[]="tomeetme",*p; for(p=str;p<str+7;p+=2)putchar(*p); printf("\n");}A.tomeetmeB.tmemC.oeteD.tome
考题
下面程序的输出结果是includeincludemain(){char *p1="abc",*p2="ABC",str
下面程序的输出结果是 #include<stdio.h> #include<string.h> main() { char *p1="abc",*p2="ABC",str[50]="xyz"; strcpy(str+2,strcat(p1,p2)); printf("%s\n",str);}A.xyzabcABCB.zabcABCC.xyabcABCD.yzabcABC
考题
下面程序的输出结果是includeincludemain(){char*p1="abc",*p2="ABC",str[
下面程序的输出结果是 #include<stdio.h> #include<string.h> main() { char*p1="abc",*p2="ABC",str[50]="xyz"; strcpy(str+2,streat(p1,p2)); printf("%s\n",str);}A.xyzabcABCB.zabcABCC.xyabcABCD.yzabcABC
考题
以下程序的输出结果是【 】。includeincludechar*fun(char*t){ char *p=t;retur
以下程序的输出结果是【 】。include <stdio.h>include <string.h>char *fun(char *t){ char *p=t;return (p+strlen(t)/2);}main(){ char *str="abcdefgh";str=ftm(str);puts(str);}
热门标签
最新试卷