以下数组定义语句中,正确的有( )。
选项:
A:int a[]={1,2};
B:int n; scanf(“%d”,&n); int a[n];
C:char s[ ]="test";
D:int n=5,a[n];
发布时间:2024-06-25 23:35:42