网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
要用字符数组保存字符串“test”的值,以下代码正确的是().
A.char a[5]; a="test";
B.char a[4]="test";
C.char a[4l; a = "test";
D.char a[5]="test”:
参考答案
更多 “ 要用字符数组保存字符串“test”的值,以下代码正确的是(). A.char a[5]; a="test";B.char a[4]="test";C.char a[4l; a = "test";D.char a[5]="test”: ” 相关考题
考题
● 以下 HTML 代码中,创建指向邮箱地址的链接正确的是 (42)(42)A. a href="email:test@test.com"test@test.com/aB. a href="emailto:test@test.com"test@test.com/aC. a href="mail:test@test.com"test@test.com/aD. a href="mailto:test@test.com"test@test.com/a
考题
已知程序中已经定义了函数test,其原型是int test(int,int,int);,则下列重载形式中正确的是A.char test (int,int,int);B.double test(int,int,double);C.int test(int,int,int=O);D.float test(int,int,float=3.5F);
考题
在网页上要链接到一个E-mail地址,正确的HTML代码是(62)。A.给我
在网页上要链接到一个E-mail地址,正确的HTML代码是(62)。A.<A href="mailto:test@test.com">给我来信</A>B.<A href="tomail:test@test.com">给我来信</A>C.<A mailto="test@test.com">给我来信</A>D.<A tomail="test@test.com">给我来信</A>
考题
考虑函数原型void test(int a,int b=7,char z=‘*’),下面的函数调用中,属于不合法调用的是( )。A.test(5);B.test(5,8);C.test(6,’#’);D.test(0,0,’x’);
考题
考虑函数原型void test(int a,int b=7,char="*"),下面的函数调用中,属于不合法调用的是()A: test(5)B: test(5,8)C: test(6,"#")D: test(0,0,"*")
考题
在下列源代码文件Test.java中,正确定义类的代码是( )。A.pblic class test { public int x=0; public test(int x) { this. x=x;} }B.public class Test { public int x=0; public Test(int x) { this. x=x;} }C.public class Test extends T1,T2{ public int x = 0; public Test(int x){ this. x = x; } }D.protected class Test extends T2{ public int x = 0; public Test(int x) { this. x = x; } }
考题
● 以下 HTML代码中,创建指向邮箱地址的链接正确的是(69)。(69)A . a href="email:test@test.com"test@test.com/aB. a href="emailto:test@test.com"test@test.com/aC. a href="mail:test@test.com"test@test.com/aD. a href="test@test.commailto:test@test.com"test@test.com/a
考题
设文件test.txt中原已写入字符串Begin,执行以下程序后,文件中的内容为【 15 】 。#include stdio.hmain( ){ FILE *fp;fp= fopen( "test.txt”, ”w+”);fputs( "test",fp);fclose(fp);}
考题
以下HTML代码中,创建指向邮箱地址的链接正确的是______。A.test@t
以下HTML代码中,创建指向邮箱地址的链接正确的是______。A.<a href="email:test@test.com">test@test.com</a>B.<a href="emailto:test@test.com"test@test.com</a>C.<a href="mail:test@test.com"test@test.com</a>D.<a href="mailto:test@test.com">test@test.com</a>
考题
如下的代码段中,如果方法unsafe()正常运行,那么结果是( )。 public void example() { try { unsafe(); System.out.println("Testl"); }catch(SafeException e) { System.out.println("Test 2"); }finally{ System.out.println("Test 3'); } System.out.println("Test 4"); }A.Test 3 Test 4B.Test1 Test3 Test4C.Test1 Test3D.Test1 Test4
考题
若基于Linux操作系统所开发的ARM应用程序源文件名为test.c,那么要生成该程序代码的调试信息,编译时使用的GCC命令正确的是()。A.arm-linux-gcc -c -o test.o test.cB.arm-linux-gcc -S -o test.o test.cC.arm-linux-gcc -o test test.cD.arm-linux-gcc -g -o test test.c
考题
关于 ZooKeeper的命令中描述错误的为()
A. 1s/:查看zookeepe中所包含的内容B. create/ zk- test my- data:创建一个新的znode节点" zk test"以及与它关联的字符串C.set/zk-test:获取znode节点" zk test"所包含的字符串D.delete/zk-test:删除znode节点“zk-test”
考题
以下代码:if (a >4)System.out.println("test1");else if (a >9)System.out.println("test2");elseSystem.out.println("test3");a为何值将有输出结果test2 ?
A. 小于 0B. 小于 4C. 4 和9之间D. 大于9E. 无任何可能
考题
以下代码的输出结果?public class Test{int x=5;public static void main(String argv[]){Test t=new Test();t.x++;change(t);System.out.println(t.x);}static void change(Test m){m.x+=2;}}
A. 7B. 6C. 5D. 8
考题
Inacustomer’snetwork,VLANTrunkingProtocol(VTP)isrunningwithadomainnamedmain1.VLANs1,2,3,4,5,10,20areactiveonthenetwork.Suddenlythewholenetworkgoesdown.NotrafficisbeingpassedonVLANs2,3,4,5,10,20,howevertrafficpassesonVLAN1andindicatesallswitchesareoperational.Rightbeforethenetworkproblemoccurred,aswitchnamedTEST1wasaddedtothenetwork.WhatthreeconfigurationissuesonTEST1couldbecausingthenetworkoutage?()A.TEST1isconfiguredasaVTPserverwithadifferentdomainname.B.TEST1isnotconfiguredtoparticipateinVTP.C.TEST1isconfiguredasaVTPserverwiththedomainnamemain1.D.TEST1hasalowerVTPconfigurationrevisionthanthecurrentVTPrevision.E.TEST1hasahigherVTPconfigurationrevisionthanthecurrentVTPrevision.F.TEST1isconfiguredwithonlyVLAN1.
考题
● 在网页上要链接到一个E-mail地址,正确的HTML代码是 (62) 。(62)A.A href="mailto:test@test.com"给我来信/AB.A href="tomail:test@test.com"给我来信/AC.A mailto ="test@test.com"给我来信/AD.A tomail ="test@test.com"给我来信/A
考题
以下HTML代码中,创建指向邮箱地址的链接正确的是()
A. test@test.com
B. test@test.comC. test@test.com
D. test@test.com
考题
以下HTML代码中,创建指向邮箱地址的链接正确的是( )。A.test@test.com
B.test@test.com
C.test@test.com
D.test@test.com
考题
在linux系统中,当前路径为/tmp/test,将/tmp/test/oldfile更改为/tmp/test/newfile,以下命令正确的是()。A、mv /tmp/test/oldfile newfileB、mv /tmp/test/oldfile /tmp/test/newfileC、mv oldfile newfileD、mv oldfile /tmp/test/newfileE、mv oldfile /tmp/test/
考题
下列代码能够正确找到id为test的div元素的代码是?(其中$为jQuery)()A、$(’.test’)B、$(’div#test’)C、$(’div.test’)D、$(’div’)
考题
以下HTML代码中,创建指向邮箱地址的链接正确的是()。A、<A href="email:test@test.com">test@test.com</a>B、<A href="emailto:test@test.com">test@test.com</a>C、<a href="email:test@test.com">test@test.com</a>D、<a href="emailto:test@test.com">test@test.com</a>
考题
单选题在linux系统中,删除/test/test1目录,当/test目录为空时,希望一并删除,以下命令中正确的是()。A
rmdir -r /test/test1B
rmdir -p /test/test1C
rmdir -R /test/test1D
rmdir -l /test/test1
考题
单选题在linux系统中,将文件/tmp/test1和/tmp/test2压缩到/tmp/test.gz,正确的命令是()。A
tar -czvf test1 test2 test.gzB
tar -czvf test.gz test1 test2C
tar test.gz test1 test2D
tar test1 test2 test.gz
考题
单选题在linux系统中,用cp命令将/tmp/test中的文件到/tmp/test1中,不想拷贝目录本身,以下命令正确的是()。A
cp -R /tmp/test /tmp/test1B
cp -r /tmp/test /tmp/test1C
cp -R /tmp/test/. /tmp/test1D
cp /tmp/test /tmp/test1
考题
单选题要向已有数据的c:/test/test.txt文件添加数据,正确的文件打开命令是()。A
Open〞c:/test/test.txt〞ForAppendAs#512B
Open〞c:/test/test.txt〞ForAppendAs#511C
Open〞c:/test/test.txt〞ForOutputAs#511D
Open〞c:/test/test.txt〞ForOutputAs#512
热门标签
最新试卷