题目内容

下列程序中函数reverse()的功能是将a所指数组中的内容进行逆置。 #include<stdio.h> void reverse(int a[],int n) { int i,t; for(i=0;i<n/2,i++) { t=a[i];a[i]=a[n-1-i];a[n-1-i]=t;} } main() { int b[10]={1,2,3,4,5,6,7,8,9,10};int i,s=0; reverse(b,

A. ptr是一个返回值是血的函数
B. ptr是指向int型数据的指针变量
C. ptr是指向函数的指针,该函数返回一个int型数据
D. ptr是一个函数名,该函数的返回值是指向血型数据的指针

查看答案
更多问题

A statement NOT made or implied in the passage is that______.

A. worthwhile attitudes may be developed in practically every subject area
B. a child can develop in the classroom an attitude about the importance of brushing his teeth
C. attitudes cannot easily be changed by rewards and lectures
D. the attitudes of elementary school aged children are influenced primarily by the way they were treated

Which of the following most accurately describes the organization of the text?

A. The author does nothing but define two modes of learning.
B. The author first offers a definition to each of the two modes of learning and then compares them.
C. The author compares the two modes of learning and concludes that informal learning is better than formal learning.
D. The author advocates banning formal learning for it accounts for many of the social problems which trouble our societies.

The language used in classroom instruction explains______.

A. how learning can take place efficiently
B. why it is not easy for children of working-class families to get high scores
C. why informal learning is more important
D. why formal learning does not work with children of middle-class families

What is this passage mainly concerned with?

A. Many adverts can be read literally.
B. Everyone has a daydream.
C. Many adverts function on the level of the daydream.
D. Many adverts are deceitful because they can not make their promises.

答案查题题库