Declaring an int array with less values then that are declared, will it only add 0 as values?

前端 未结 0 501
余生分开走
余生分开走 2020-11-22 01:07

I was reading up on C++, and the site says that if you declare an int array with less values then declared as such

int x[6] = {19, 10, 8};

th

相关标签:
回答
  • 消灭零回复
提交回复
热议问题