int temp[10] = {1,2,3,4,5,6,7,8,9,10};
for (auto i : temp)
cout<<i<<" ";
C++ study notes - how to quickly traverse the output array
Guess you like
Origin blog.csdn.net/qq_37525888/article/details/129722597
Ranking