Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

c++ loop through array

CustomType customArray[]{5,6,7,8,9};
for (auto index = 0; index < std::extent_v<decltype(customArray)>; ++ index) {
// do stuff
}
Source by codeforces.com #
 
PREVIOUS NEXT
Tagged: #loop #array
ADD COMMENT
Topic
Name
7+9 =