单选题:有下列程序: #include<stdio.h>voidfun(char*s){while(*s){if(*s%2==( 题目分类:C++ 题目类型:单选题 号外号外:注册会员即送体验阅读点! 题目内容: 有下列程序: #include<stdio.h> voidfun(char*s) {while(*s) {if(*s%2==(1)printf("%C",*s); s+十: } } voidmain( ) {chara[]={"good"); fun(a);printf("n"); } 注意:字母a的ASCIl码值为97,程序运行后的输出结果是( )。 A.go B.god C.good 参考答案:【答案仅供学习,请勿对照自行用药等】 答案解析:
—Don’t push me too hard.I’ll do it as fast as I can. —okay, —Don’t push me too hard.I’ll do it as fast as I can. —okay,______.But we only 分类:C++ 题型:单选题 查看答案
—I had a very good weekend at my uncle’s. —Oh,really? _____ —I had a very good weekend at my uncle’s. —Oh,really? ______A.That will d0. B. 分类:C++ 题型:单选题 查看答案
假定已建立以下链表结构,且指针P和q已指向如下图所示的结点: 则下列选项中可将q所指点从链表中删除并释放该结点的语句组是 假定已建立以下链表结构,且指针P和q已指向如下图所示的结点:则下列选项中可将q所指点从链表中删除并释放该结点的语句组是( )。A.(*p).next=(*q) 分类:C++ 题型:单选题 查看答案
有下列程序: #include<stdi0.h>structst{intx,Y,date[2]={1,10,2,20}; 有下列程序: #includestructst{intx,Y,date[2]={1,10,2,20}; voidmain( ) { 分类:C++ 题型:单选题 查看答案