![](https://static.youtibao.com/asksite/comm/h5/images/m_q_title.png)
[单选题]
若已知每个long类型数据在计算机内占8个字节,int类型占4个字节,char类型占1个字节,若有如下定义,则语句: printf()
A.32
B.16
C.8
D.40
查看答案
![](https://static.youtibao.com/asksite/comm/h5/images/solist_ts.png)
A.32
B.16
C.8
D.40
A.52
B.32
C.70
D.20
若有下列定义(设int类型变量占两个字节),则i=【 】 ,j=【 】。 int i=8,j=9;float x=123.456; print("i=%oj=%o\n",i,j);
假定int类型变量占用两个字节,有定义:int x[10]={0,2,4};,则数组x在内存中占字节数是
A.3
B.6
C.10
D.20
设二维数组A5×6的每个元素占4个字节,已知LOC(a00)=1000,A共占多少个字节?
A的终端结点的起始位置是多少?按行和列优先存储时,a2,5的起始地址分别为多少?
A.每个integer型占2个字节
B.每个longint型占4个字节
C.每个boolean型占2个字节
D.每个extended型占10个字节
若有定义语句charc=\101;则变量C在内存中占
A.2个字节
B.3个字节
C.1个字节
D.4个字节