Skip to content

Commit 3a8e23e

Browse files
authored
Update main.cpp
1 parent bc95a97 commit 3a8e23e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

main.cpp

+5
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,10 @@ int main()
99
char array[10];
1010
void *pos = memchr(array, '@', 42);
1111
std::cout << avg;
12+
constexpr auto maxSize = 3;
13+
auto myData[maxSize] = {1, 2, 3};
14+
for(const auto i = 0; i < maxSize; ++i) {
15+
myData[i] = i;
16+
}
1217
}
1318

0 commit comments

Comments
 (0)