int i,j,t,k,与int i,j,t,k,a[0,1,2,3,4];的区别

来源:学生作业帮助网 编辑:六六作业网 时间:2024/12/23 22:43:59
inti,j,t,k,与inti,j,t,k,a[0,1,2,3,4];的区别inti,j,t,k,与inti,j,t,k,a[0,1,2,3,4];的区别inti,j,t,k,与inti,j,t,k

int i,j,t,k,与int i,j,t,k,a[0,1,2,3,4];的区别
int i,j,t,k,与int i,j,t,k,a[0,1,2,3,4];的区别

int i,j,t,k,与int i,j,t,k,a[0,1,2,3,4];的区别
int a[5];是声明了数组;
int a[0,1,2,3,4];是声明的同时初始化赋值;