当前位置:首页
> Luz 第6139页
Luz 管理员
暂无介绍
89860 篇文章 33 次评论单选题:以下程序的输出结果是:
以下程序的输出结果是: @[A](2)```#includevoid sub1(char a,char b) { char c; c=a; a=b; b=c;}void sub2(char* a,char b…
单选题:若有函数max(a,b),为了让函数指针变量p指向函数max,正确的赋值方式是( )。
若有函数max(a,b),为了让函数指针变量p指向函数max,正确的赋值方式是( )。 @[A](2)A. p=max;B. *p=max;C. p=max(a,b);D. *p=max(a,b);A.p=max;B.*p=max;C.p…
单选题:若有函数max(a,b),并且已使函数指针变量p指向函数max,当调用函数时,正确的调用方法是( )。
若有函数max(a,b),并且已使函数指针变量p指向函数max,当调用函数时,正确的调用方法是( )。 @[C](2)A. (*p)max(a+b);B. *pmax(a,b);C. (*p)(a,b);D. *p(a,b);A.(*p…
单选题:若有说明: char *language[]={“FORTRAN”,“BASIC”,“PASCAL”,“JAVA”,“C”};
若有说明: char *language[]={“FORTRAN”,“BASIC”,“PASCAL”,“JAVA”,“C”}; 则以下不正确的叙述是 ( )。 @[D](2)A. language+2表示字符串"PASCAL"的首地址…
单选题:Determine the displaying of the following program:
Determine the displaying of the following program: ```#define N 10#define M 5int main( ){ int pa,pb, value; int a[M]…
单选题:Determine the displaying of the following program:
Determine the displaying of the following program: ```#include void sub(int s[], int y){ static int t=3; y=s[t];…
单选题:下列程序的输出结果是
下列程序的输出结果是 @[D](2)```int main( ) { char *p1, *p2, str[50]="xyz"; p1="abcd"; p2="ABCD"; strcpy(str+…
单选题:执行以下程序后,y的值是:
执行以下程序后,y的值是: @[C](2)```int main ( ) { int a[]={2,4,6,8,10}; int y=1,x,*p; p=&a[1]; for(x=0;x˂3;x++)…
单选题:Determine the displaying of the following program:
Determine the displaying of the following program:```#includeint main(){ int a[5],i; for(i=0; i˂5; i++) { a[…