下面定义一维数组语句正确的是()

A.int a[2]= {1, 3.5} B.int a[3]= {1,2,3,4,5} C.loat price[3]={'a','b','c'} D.int a[3]={1}

时间:2023-10-13 15:43:48

相似题目