单选题:设有以下定义和语句:char str[20]一”Program”,*P;P=str:则以下叙述中正确的是( )。 题目分类:C语言 题目类型:单选题 号外号外:注册会员即送体验阅读点! 题目内容: 设有以下定义和语句: char str[20]一”Program”,*P; P=str: 则以下叙述中正确的是( )。 A.*P与str[0]的值相等 B.str与P的类型完全相同 C.str数组长度和P所指向的字符串长度相等 D.数组str中存放的内容和指针变量P中存放的内容相同 参考答案:【答案仅供学习,请勿对照自行用药等】 答案解析:
有以下程序:#include<stdio.h>main(){ int i;for(i一1;i<一5;i++)(if(i% 有以下程序:#includemain(){ int i;for(i一1;i<一5;i++)(if(i%2)printf(”*”); 分类:C语言 题型:单选题 查看答案
下列程序执行后的输出结果是( )。main()( int x='f';printf("%c\n”,'A'+(x-‘a’ 下列程序执行后的输出结果是( )。main()( int x='f';printf("%c\n”,'A'+(x-‘a’+1));}A.G B.H C.I 分类:C语言 题型:单选题 查看答案
听音频,回答以下问题。Why are mothers fed up with their jobs? 听音频,回答以下问题。Why are mothers fed up with their jobs?A.Because the jobs are diff 分类:C语言 题型:单选题 查看答案
What are the guests’comments? What are the guests’comments?A.It has no taste. B.It makes the cat ill· C.The 分类:C语言 题型:单选题 查看答案
She wants to check an article from an old newsletter. She wants to check an article from an old newsletter. 分类:C语言 题型:单选题 查看答案