皮皮学,免费搜题
登录
logo - 刷刷题
搜题
【单选题】
下面程序希望得到的运行结果如下: Total string numbers = 3 How are you 但是现在代码存在 错误 ,找出下面选项中 修改正确 的语句 #include void Print(char *arr[], int len); int main() { char *pArray[] = {"How","are","you"}; int num = sizeof(pArray) / sizeof(char); printf("Total string numbers = %d\n", num); Print(pArray, num); return 0; } void Print(char *arr[], int len) { int i; for (i=0; i { printf("%s ", arr[i]); } printf("\n"); }
A.
第 6 行应该是: int   num = sizeof(pArray) / sizeof(char*);
B.
第 5 行应该是: char pArray[] = {"How","are","you"};
C.
第 6 行应该是: int   num = sizeof(pArray/char *);
D.
第 12 行应该是: void  Print(char arr[], int len)
手机使用
分享
复制链接
新浪微博
分享QQ
微信扫一扫
微信内点击右上角“…”即可分享
反馈
参考答案:
举一反三
【简答题】A.The seat is not occupied. B.The seat is already reserved. C.A book is under the seat. D.A book is on the seat.
【单选题】W7815型三端集成稳压器中的“15”是指( )。
A.
输入电压值
B.
输出的稳定电压值
C.
最大输出电流值
D.
输出的稳定电流值
【单选题】It is the driver's responsibility to ______.
A.
make the front seat passenger wear a seat belt
B.
make the front seat children under 14 wear a seat belt
C.
stop children riding in the front seat
D.
wear a seat belt each time he drives
【单选题】从加工对象投产起,到它完工时止所经历的日历时间,称为( )
A.
生产间隔期
B.
生产提前期
C.
生产周期
D.
投入提前期
【单选题】W7815型三端集成稳压器中的“15”是指( )。
A.
输入电压值
B.
输出的稳定电压值
C.
最大输出电流值
D.
输出最大电压值
【单选题】what kind of seat will be option for you,when you are choosing a seat.
A.
aisle seat
B.
window seat
C.
middle seat
D.
good seat
【单选题】Which seat is the seat of honor?
A.
the seat facing east or facing the entrance
B.
the seat facing north or facing the door
C.
the seat facing north or facing the entrance
D.
the seat facing west or facing the entrance
【单选题】西方人常常保留( )层婚礼蛋糕直至第一个婴儿出生。
A.
B.
C.
中间
【单选题】W7815 型三端集成稳压器中的“ 15 ” 是指()。
A.
输入电压值
B.
输出的稳定电压值
C.
最大输出电流值
【单选题】It is the driver's responsibility to ______.
A.
make the front seat passengers wear a seat belt
B.
make the front seat children under 14 wear a seat belt
C.
stop children riding in the front seat
D.
wear a seat belt each time he drives
相关题目:
参考解析:
知识点:
题目纠错 0
发布
创建自己的小题库 - 刷刷题