add Chapter03
This commit is contained in:
7
Chapter03/out_of_bound.cpp
Normal file
7
Chapter03/out_of_bound.cpp
Normal file
@@ -0,0 +1,7 @@
|
||||
#include <array>
|
||||
|
||||
int main() {
|
||||
std::array<int, 4> arr{1, 2, 3, 4};
|
||||
|
||||
return arr[4];
|
||||
}
|
||||
Reference in New Issue
Block a user