1#include <iostream>
2#include <array>
3using namespace std;
4main () {
5 array<int,6> myarray;
6 myarray.fill(5);
7 cout << "myarray contains:";
8 for (int& x : myarray) {
9 cout << ' ' << x;
10 }
11 cout << '\n';
12 //myarray contains: 5 5 5 5 5 5
13 return 0;
14}