• 2022-06-26 问题

    下列选项中,不属于值类型的是() A: struct B: Int32 C: Int D: string

    下列选项中,不属于值类型的是() A: struct B: Int32 C: Int D: string

  • 2022-06-26 问题

    下列选项中,不属于值类型的是(   ) A: struct B: Int32 C: Int D: string

    下列选项中,不属于值类型的是(   ) A: struct B: Int32 C: Int D: string

  • 2022-06-06 问题

    Java语言中,String类中的indexOf()方法返回值的类型是() A: int16 B: int32 C: int D: long

    Java语言中,String类中的indexOf()方法返回值的类型是() A: int16 B: int32 C: int D: long

  • 2022-05-28 问题

    int a = -21, b=32, max; max=a>b ? a : b; 执行后max的 A: 32 B: -21

    int a = -21, b=32, max; max=a>b ? a : b; 执行后max的 A: 32 B: -21

  • 2022-05-28 问题

    int a = -21, b=32, max; max=a>b ? a : b; 执行后max的值 A: 32 B: -21

    int a = -21, b=32, max; max=a>b ? a : b; 执行后max的值 A: 32 B: -21

  • 2022-05-28 问题

    以下代码的输出结果是()。(单选题)publicclassTest{publicstaticvoidmain(String[]args){double[]price=newdouble[5];price[0]=98.10;price[1]=32.18;price[2]=77.75;System.out.print((int)price[0]+""+(int)price[1]+""+(int)price[2]+""+(int)price[3]+""+(int)price[4]);}} A: 98 32 77 0 0 B: 98 32 78 0 0 C: 98 32 78 D: 编译出错

    以下代码的输出结果是()。(单选题)publicclassTest{publicstaticvoidmain(String[]args){double[]price=newdouble[5];price[0]=98.10;price[1]=32.18;price[2]=77.75;System.out.print((int)price[0]+""+(int)price[1]+""+(int)price[2]+""+(int)price[3]+""+(int)price[4]);}} A: 98 32 77 0 0 B: 98 32 78 0 0 C: 98 32 78 D: 编译出错

  • 2022-06-10 问题

    阅读以下程序,a的值为#include<stdio.h>int a;int f1(int b, int c, int d);int f2(int b, int c);int f3(int b);int f1(int b, int c, int d) { return f2(b*c, d);}int f2(int b, int c) { return f3(b*c);}int f3(int b) { a = b; return a == 32;}int main() { int b = 2, c = 4, d = 8, ans; a = 1; ans = f1(b, c, d); return 0;} A: 1 B: 2 C: 32 D: 64

    阅读以下程序,a的值为#include<stdio.h>int a;int f1(int b, int c, int d);int f2(int b, int c);int f3(int b);int f1(int b, int c, int d) { return f2(b*c, d);}int f2(int b, int c) { return f3(b*c);}int f3(int b) { a = b; return a == 32;}int main() { int b = 2, c = 4, d = 8, ans; a = 1; ans = f1(b, c, d); return 0;} A: 1 B: 2 C: 32 D: 64

  • 2022-06-29 问题

    向x变量中输入任意一个大写字母,再将x变量中的大写字母转成小写字母 (如 "G”变成 "g”)。正确的算法是() A: ①输入字母到x ②int y = x - 32 ③x = (char)y→输出x B: ①输入字母到x ②int y = x + 32 ③x = (char)y→输出x C: ①输入字母到x ②int y = (int)x - 32 ③x = (char)y→输出x D: ①输入字母到x ②int y = (int)x + 32 ③输出y

    向x变量中输入任意一个大写字母,再将x变量中的大写字母转成小写字母 (如 "G”变成 "g”)。正确的算法是() A: ①输入字母到x ②int y = x - 32 ③x = (char)y→输出x B: ①输入字母到x ②int y = x + 32 ③x = (char)y→输出x C: ①输入字母到x ②int y = (int)x - 32 ③x = (char)y→输出x D: ①输入字母到x ②int y = (int)x + 32 ③输出y

  • 2022-10-28 问题

    关于结构体变量定义错误的选项是哪一项? A: struct player { int id; char name[32]; double x; double y;};struct player npc[100]; B: struct player { int id; char name[32]; double x; double y;} npc[100]; C: struct { int id; char name[32]; double x; double y;} npc[100]; D: struct player { int id; char name[32]; double x; double y;};player npc[100];

    关于结构体变量定义错误的选项是哪一项? A: struct player { int id; char name[32]; double x; double y;};struct player npc[100]; B: struct player { int id; char name[32]; double x; double y;} npc[100]; C: struct { int id; char name[32]; double x; double y;} npc[100]; D: struct player { int id; char name[32]; double x; double y;};player npc[100];

  • 2022-05-23 问题

    无符号16位整型数据的类型是int32

    无符号16位整型数据的类型是int32

  • 1 2 3 4 5 6 7 8 9 10