题目内容

若有 char c[5]={'c','d','\0','e','\0'};则执行语句printf("%s",c);输出结果是( )。

A. cd\0e
B. cde
C. cd
D. cd\0e\0

查看答案
更多问题

有以下程序int sum = 0;for ( int i=0; i<10; i++ ) {if ( i%2 ) continue;sum += i;}printf("%d\n", sum);程序运行后的输出结果是( )。

A. 0
B. 9
C. 20
D. 45

以下程序存在语法性错误,关于错误原因的正确说法是( )。int main( ){ int A=5, b;void p_ch( );……b=p_ch( A );……}

A. 语句void p_ch( );有错,它是函数调用语句,不能使用void说明
B. 变量名不能使用大写字母
C. 函数说明和函数调用语句之间有矛盾
D. 函数名中不能使用下划线

有以下程序#include int MaxValue(int x, int y) {return x>y? x:y;}int MinValue(int x,int y) {return x>y? y:x;}int main(){int a=4,b=3,c=5,d,e,f;d=MaxValue(a,b);d=MaxValue(d,c);e=MinValue(a,b);e=MinValue(e,c);f=a+b+c-d-e;printf("%d,%d,%d\n",d,f,e);return 0;}运行后的输出结果是( )。

A. 5,3,4
B. 5,4,3
C. 3,5,4
D. 3,4,5

Choose one appropriate words for each gap from the box following the passageWhat determines the kind of person you are?What factors make you more or less bold,intelligent, or able to read a map? All of these areinfluenced by the interaction of your genes and theenvironment in which you were__1___. The study ofhow genes and environment interact to influence___2___activity is known as behavioral genetics. Behavioral genetics has made important __3___tothe biological revolution, providing information about the extent to which biology influencesmind, brain and behavior.Any research that suggests that__4___to perform certain behaviors are based in biology iscontroversial. Who wants to be told that there are limitations to what you can __5___based onsomething that is beyond your control, such as your genes? It is easy to accept that genescontrol physical characteristics such as sex, race and eye color. But can genes alsodetermine whether people will get divorced, how__6__they are, or what career they are likely tochoose? A concern of psychological scientists is the __7___to which all of these characteristicsare influenced by nature and nurture(养育),by genetic makeup and the environment.Increasingly, science __8___that genes lay the groundwork for many human traits. From thisperspective, people are born __9___like undeveloped photographs: The image is alreadycaptured, but the way it __10___appears can vary based on the development process. However, thebasic picture is there from the beginning.A.abilities B.achieveC.appealD.complaintsE.contributionsF.displayedG.essentially H.eventuallyI.extent J.indicatesK.proceedsL. psychologicalM.raised N. smartO.standard

答案查题题库