网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
设有说明 TYPE byte=0.。7; word=0.。15; num=Real; VAR a:byte;b,c:word;d:Integer;c:num;f:Char; 下面哪一组变量的类型是相容的而不是同一的
Aa和c
Bc和f
Cc和d
Dc和d
参考答案
更多 “ 设有说明 TYPE byte=0.。7; word=0.。15; num=Real; VAR a:byte;b,c:word;d:Integer;c:num;f:Char; 下面哪一组变量的类型是相容的而不是同一的 Aa和cBc和fCc和dDc和d ” 相关考题
考题
不同类型的数据占用存储空间的长度是不同的。下列选项中,符合占用存储空间从小到大顺序排列的是()
A.Byte,Integer,Long,DecimalB.Byte,Integer,Double,BooleanC.Boolean,Byte,Integer,DoubleD.Byte,Decimal,Integer,Long
考题
自动类型转换规定的优先次序是( )。A.short,byte,char→long→int→float→doubleB.short,byte,char→int→long―float→doubleC.byte,short,char→long→int→float→doubleD.byte,short,char→int→long→float→double
考题
以下代码中变量result的可能类型有哪些?byte b = 11;short s = 13;result = b * ++s;
A.byte, short, int, long, float, doubleB.boolean, byte, short, char, int, long, float, doubleC.byte, short, char, int, long, float, doubleD.byte, short, charE.int, long, float, double
考题
var_dump()函数用于查看变量的值和数据类型。分析以下代码,输出结果正确的是()。 <?php $num = 1234; var_dump($num); ?>A.int(4)"1234"B.int(3)"1234"C.int(1234)D.1234
热门标签
最新试卷