皮皮学,免费搜题
登录
搜题
【单选题】
下面程序希望得到的运行结果如下: 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)
拍照语音搜题,微信中搜索"皮皮学"使用
参考答案:
参考解析:
知识点:
.
..
皮皮学刷刷变学霸
举一反三
【单选题】中隔壁法(CD法)适用于地质条件较差的地层、修建跨度不大于( )m的隧道。
A.
14
B.
16
C.
18
D.
20
【单选题】从孔子 四 位学生的回答,可以看出他们的性格特征,对他们性情判断正确的一项是( )
A.
子 路自信而直率,冉有更加谦逊,公西华谦虚谨慎,曾皙从容有礼。
B.
子路自信而直率, 冉有谦虚谨慎, 公西 华 更加谦逊 , 曾皙从容有礼 。
C.
子路自信而直率, 冉有 从容有 礼, 公西华更加谦逊, 曾皙 谦虚谨慎 。
D.
子 路 从容有 礼,冉有 自信而直率 , 公西华更加谦逊,曾皙谦虚谨慎。
【单选题】Given the curves shown in the Figure , the marginal cost of the 3rd unit of output is:
A.
$6.00.
B.
$10.00.
C.
$16.00.
D.
$25.00.
【单选题】名句“雄关漫道真如铁,而今近迈步从头越”出自()的手笔。
A.
朱德
B.
陈毅
C.
毛泽东
D.
叶剑英
【单选题】中隔壁法(CD法)适用于地质条件差的地层、修建跨度不大于( )的隧道
A.
14m
B.
16m
C.
18m
D.
20m
【单选题】Given the supply and demand curves shown in the figure below, the effect of a $1 subsidy to suppliers would be that:
A.
price would fall by $1.
B.
price would not change.
C.
price would fall by less than $1.
D.
price would fall by more than $1
E.
none of the above.
【单选题】Given the curves shown in the Figure the average total cost of 3 units of output is:
A.
$3.00
B.
$8.00.
C.
$16.33.
D.
$25.00.
【单选题】Given the curves shown in the Figure, the average variable cost of 3 units of output is:
A.
$3.00.
B.
$8.00.
C.
$16.33.
D.
$25.00.
【简答题】目前应用在电子组装工业中的检测方法主要有( )Visual Inspection和( )electrical Test两种。
【简答题】英译汉”By a family of curves is meant a specified set of curves which satisfy given conditions.“
相关题目: