How many elements can be inserted in an array of size 5? (It's complicated)

后端 未结 0 1302
遥遥无期
遥遥无期 2021-02-01 01:53

If I declare an array in C/C++ like this int arr[5]; and then a loop to insert elements in it like this

for(int i=0; i<5; i++){
    arr[i] = i+1;
         


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