声明动态数组的语句怎么写声明动态数组的语句的写法:【int size=50;int *p=new int[size];】。动态数组是通过new运算符来定义的,new运算符是用来动态开辟空间的。动态数组的大小在运行过程中是可以动态改变的。动态数组:(推荐学习:c语言 1