网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
假定int型变量在内存中占2个字节,那么二维数组int a[3][4]所占的字节数为 ()
A.24
B.6
C.12
D.48
参考答案和解析
24
更多 “假定int型变量在内存中占2个字节,那么二维数组int a[3][4]所占的字节数为 ()A.24B.6C.12D.48” 相关考题
考题
变量a所占内存字节数是______。 union U { char st[4]; int i; long 1; }; struct A { int c; union U u; }a;A.4B.5C.6D.8
考题
变量a所占的内存字节数是 ______。A.4B.5C.6D.8 union U { char st[4]; int i; long l; }; Struct A{ int c; union U u; }a;
考题
假定int类型变量占用4个字节,若有定义: int[] x=new int[10]{0,2,4,4,5,6,7,8,9,10}; 则数组x在内存中所占字节数是()A、 10B、 20C、 40D、 80
考题
假定int类型变量占用两个字节,若有定义:int[]x=new int[10]{0,2,4,4,5,6,7,8,9,10};则数组x在内存中所占字节数是()。A、6B、20C、40D、80
考题
单选题假定int类型变量占用4个字节,若有定义: int[] x=new int[10]{0,2,4,4,5,6,7,8,9,10}; 则数组x在内存中所占字节数是()A
10B
20C
40D
80
考题
单选题假定int类型变量占用两个字节,若有定义:int[]x=new int[10]{0,2,4,4,5,6,7,8,9,10};则数组x在内存中所占字节数是()。A
6B
20C
40D
80
考题
填空题设有以下结构类型说明和变量定义,则变量a在内存所占字节数是(). struct stud { char num[8]; int s[4]; double ave; } a,*p;
热门标签
最新试卷