// An example of using std::array
// Basic syntax: std::array NAME;
// Note that the size must be a constant
#include
#include // Use std::array
int main() {
std::array arr;
arr[0] = 5; // Setting an element
std::cout << arr[0] << std::endl; // Element access
std::cout << arr.at(0) << std::endl; // Element access with bounds checking
}