首页 > 计算机等级考试
题目内容 (请给出正确答案)
[单选题]

下列与char*pa[3][5]={"a","bb","ccc"}等价的是()。

A.char (*pa)[][5]={"a","bb","ccc"}

B.char*pa[3][]={"a","bb","ccc"}

C.char pa[3][]={"a","bb","ccc"}

D.都不等价

查看答案
答案
收藏
如果结果不匹配,请 联系老师 获取答案
您可能会需要:
您的账号:,可能还需要:
您的账号:
发送账号密码至手机
发送
安装优题宝APP,拍照搜题省时又省心!
更多“下列与char*pa[3][5]={"a","bb","cc…”相关的问题
第1题
对两个数组a和b进行下列初始化:char m[]="1234567";char n[]={'1','2','3','4','5','6','7'};则

对两个数组a和b进行下列初始化: char m[]="1234567"; char n[]={'1','2','3','4','5','6','7'}; 则下列叙述正确的是()。

A.数组m与数组n完全相同

B.数组m与数组n长度相同

C.数组m比数组n长1

D.数组m与数组n中都存放字符串

点击查看答案
第2题
对两个数组a和b进行下列初始化:char m[]1="l234567":char n[]={'1','2 &

对两个数组a和b进行下列初始化:

char m[]1="l234567":

char n[]={'1','2 ','3','4 ','5','6','7');

则下列叙述正确的是()。

A.数组m与数组n完全相同

B.数组m与数组n长度相同

C.数组m比数组n长1

D.数组m与数组n中都存放字符串

点击查看答案
第3题
下列程序的输出结果为 #include<iostream.h> void main() { char * a[ ]={"hello","the","world"}; char * * pa=a; pa++; cout <<*pa<<end1; }

A.hello

B.the

C.world

D.hellotheworld

点击查看答案
第4题
下列程序的输出结果为#include<iostream.h>void main(){char * a[ ] ={"hello},"the"," world"};char * * pa=a;pa++;cout < < * pa < < endl;}

A.hello

B.the

C.world

D.hellotheworld

点击查看答案
第5题
下列程序的输出结果为 #include voidmain() { char,a[]={”hello",”the",”world”}; char

下列程序的输出结果为

#include

void main()

{

char,a[]={”hello",”the",”world”};

char**pa=a:

pa++;

cout<<*pa<

}

A.hello

B.the

C.world

D.hellotheworld

点击查看答案
第6题
下列程序的输出结果为()。#include (iostream)using namespace std; void main()char,a[ ] = {

下列程序的输出结果为()。 #include (iostream) using namespace std; void main() char,a[ ] = { "hello" ," the" ," world" }; char * * pa = a: pa + +; cout << * pa << ENDL; }

A.hello

B.the

C.world

D.hellotheworld

点击查看答案
第7题
下列语句段中,正确的是()。A.street { int x; float y; int a[2]; unsigned b[3]; char name[ 10]

下列语句段中,正确的是()。

A.street { int x; float y; int a[2]; unsigned b[3]; char name[ 10]; };

B.struct stu { unsigned a[3]; unsigned b[4]; }x; int *p=& x.a;

C.stmct stu { int a; float x[4]; }y={1,1.0}; float data=y.x;

D.struct nd { int a,b; unsigned c[2]=5; };

点击查看答案
第8题
10802£­PA£­101一共有()台泵。

A.3

B.4

C.5

D.2

点击查看答案
第9题
阅读下列函数说明和C函数,将应填入(n)处的字句写在对应栏内。[函数2.1说明] Fibonacci数列中头两

阅读下列函数说明和C函数,将应填入(n)处的字句写在对应栏内。

[函数2.1说明]

Fibonacci数列中头两个数均为1,从第三个数开始,每个数等于前两个数之和。下述程序计算Fibonacci数列中前15个数,并以每行5个数的格式输出。

[函数2.1]

include <stdio.h>

main()

{ int i,f,f1=1,f2=1;

printf("%5d%5d",f1,f2);

for(i=3;i<=15;i++){

f=(1);

printf("%5d",f);

if((2)= =0) printf("\n");

f1=12;

(3);

}

}

[函数2.2说明]

函数fun(char *str1,char *str2)的功能是将字符串str2拼接到str1之后。

[函数2.2]

fun(char *str1,char *str2)

{ int i,j;

for(i=0;str1[i]!='\0';i++);

for(j=0;str2[j]!='\0';j++) (4);

(5);

}

点击查看答案
第10题
过程管理过程域涉及()个PA,属于3级成熟度的过程管理类过程域有()个PA。

A.3/3

B.4/3

C.5/3

D.6/3

点击查看答案
退出 登录/注册
发送账号至手机
密码将被重置
获取验证码
发送
温馨提示
该问题答案仅针对搜题卡用户开放,请点击购买搜题卡。
马上购买搜题卡
我已购买搜题卡, 登录账号 继续查看答案
重置密码
确认修改