Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //#include "profile.h"
- #include <iostream>
- #include <array>
- #include <algorithm>
- #include <tuple>
- #include <vector>
- using namespace std;
- int main()
- {
- int x = 111111;
- array<int,10> numbers;
- numbers.fill(8);
- const auto numbers_copy = numbers;
- int y = 222222;
- // for(int*p =&y; p<= &x;++p)
- // {
- // cout<<*p<<" ";
- // }
- for(int x:numbers_copy)
- {
- cout<<x<<" ";
- }
- cout<<"\n";
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement