• 2022-07-29 问题

    能将字符串存储到name数组中的选项有() A: char name[20], *p;p=name;gets(name); B: char name[20], *p;p=name;gets(p); C: char name[20], *p;p=name;scanf("%s",name); D: char name[20], *p;p=name;scanf("%s",p);

    能将字符串存储到name数组中的选项有() A: char name[20], *p;p=name;gets(name); B: char name[20], *p;p=name;gets(p); C: char name[20], *p;p=name;scanf("%s",name); D: char name[20], *p;p=name;scanf("%s",p);

  • 2022-05-29 问题

    以下语法符合JSON格式的是( )。 A: { name:'Mary';age:20, } B: { name:'Mary';age:20 } C: { name:'Mary', age:20, } D: { name:'Mary', age:20 }

    以下语法符合JSON格式的是( )。 A: { name:'Mary';age:20, } B: { name:'Mary';age:20 } C: { name:'Mary', age:20, } D: { name:'Mary', age:20 }

  • 2022-06-06 问题

    结构体定义正确的是? A: struct mater { char name[20]; }; B: struct mater { char name[20]; }mater; C: typedef struct{ char name[20]; }mater; D: typedef struct{ char name[20]; };

    结构体定义正确的是? A: struct mater { char name[20]; }; B: struct mater { char name[20]; }mater; C: typedef struct{ char name[20]; }mater; D: typedef struct{ char name[20]; };

  • 2022-07-23 问题

    以下变量定义,错误的是: A: struct student{int num, char name[20];} s; B: struct {int num, char name[20];} s; C: struct student{int num, char name[20];}; struct student s; D: struct student{int num, char name[20];} ; student s

    以下变量定义,错误的是: A: struct student{int num, char name[20];} s; B: struct {int num, char name[20];} s; C: struct student{int num, char name[20];}; struct student s; D: struct student{int num, char name[20];} ; student s

  • 2022-10-27 问题

    在下列结构类型和变量定义中,______选项是正确的。 A: struct student{int number, chur name[20],)s; B: struct {int number, chur name[20],};s; C: struct student{int number, chur name[20];};s; D: struct student{int number, chur name[20];)s;

    在下列结构类型和变量定义中,______选项是正确的。 A: struct student{int number, chur name[20],)s; B: struct {int number, chur name[20],};s; C: struct student{int number, chur name[20];};s; D: struct student{int number, chur name[20];)s;

  • 2022-06-19 问题

    下列( )方法定义和调用的代码是正确的。 A: static void Introduce(string gender = "男", string name, int age = 18){} Introduce(name: "alex", age: 20); B: static void Introduce(string name, int age = 18, string gender = "男"){} Introduce(age: 20, name: "alex"); C: static void Introduce(string gender = "男", string name, int ago = 18){} Introduce(age: 20, name: "alex"); D: static void Introduce(string name, int age = 18, string gender = "男"){}Introduce(name: "alex", age: 20);

    下列( )方法定义和调用的代码是正确的。 A: static void Introduce(string gender = "男", string name, int age = 18){} Introduce(name: "alex", age: 20); B: static void Introduce(string name, int age = 18, string gender = "男"){} Introduce(age: 20, name: "alex"); C: static void Introduce(string gender = "男", string name, int ago = 18){} Introduce(age: 20, name: "alex"); D: static void Introduce(string name, int age = 18, string gender = "男"){}Introduce(name: "alex", age: 20);

  • 2022-07-23 问题

    1)运行下面一段代码,能正确输出的是(C)。(选择两项) A: A.int age=20;string name=”如花”;<br>Console.write(“姓名”+name+”年龄”+age); B: B.int age=20;string name=”如花”;<br>Console.write(“姓名{0},年龄为{1}”,name,age); C: C.int age=20;string name=”如花”;<br>Console.write(name,age); D: D.int age;string name;<br>Console.write(“姓名”+name+”年龄”+age);

    1)运行下面一段代码,能正确输出的是(C)。(选择两项) A: A.int age=20;string name=”如花”;<br>Console.write(“姓名”+name+”年龄”+age); B: B.int age=20;string name=”如花”;<br>Console.write(“姓名{0},年龄为{1}”,name,age); C: C.int age=20;string name=”如花”;<br>Console.write(name,age); D: D.int age;string name;<br>Console.write(“姓名”+name+”年龄”+age);

  • 2022-06-11 问题

    访问如下json对象中的name属性的方式是:var stu={name:"张三",age:20} A: stu[name] B: stu.name C: stu-&gt;name D: this.name

    访问如下json对象中的name属性的方式是:var stu={name:"张三",age:20} A: stu[name] B: stu.name C: stu-&gt;name D: this.name

  • 2022-06-15 问题

    下面哪条语句可以查询姓“张”并且年龄等于20岁的用户,请问用哪条语句? A: Select * From table Where name like "%张%" And intAge=20 B: Select * From table Where name like "张%" And intAge=20 C: Select * From table Where name like "张%" And intAge="20" D: Select * From table Where name="张" And intAge=20

    下面哪条语句可以查询姓“张”并且年龄等于20岁的用户,请问用哪条语句? A: Select * From table Where name like "%张%" And intAge=20 B: Select * From table Where name like "张%" And intAge=20 C: Select * From table Where name like "张%" And intAge="20" D: Select * From table Where name="张" And intAge=20

  • 2022-06-16 问题

    NSMutableDictionary *mutableDic = &#91;NSMutableDictionary dictionaryWithObjectsAndKeys:@"lisi",@"name",&#91;NSNumber numberWithInt:20&#93;,@"age", nil&#93;; <br/>&#91;mutableDic setObject:@"89" forKey:@"num"&#93;;<br/>NSLog(@"mutableDic4 = %@“,mutableDic);<br/>控制台打印是: A: name = lisi;num = 89 B: age = 20;name = lisi;num = 89 C: age = 20;name = lisi D: age = 20

    NSMutableDictionary *mutableDic = &#91;NSMutableDictionary dictionaryWithObjectsAndKeys:@"lisi",@"name",&#91;NSNumber numberWithInt:20&#93;,@"age", nil&#93;; <br/>&#91;mutableDic setObject:@"89" forKey:@"num"&#93;;<br/>NSLog(@"mutableDic4 = %@“,mutableDic);<br/>控制台打印是: A: name = lisi;num = 89 B: age = 20;name = lisi;num = 89 C: age = 20;name = lisi D: age = 20

  • 1 2 3 4 5 6 7 8 9 10