creare array con c 2b 2b

Solutions on MaxInterview for creare array con c 2b 2b by the best coders in the world

showing results for - "creare array con c 2b 2b"
Hendrix
28 Jul 2018
1#include <iostream>
2int main()
3{
4int myArray[] {2, 4, 6, 8, 10};
5for (int i=0; i<5; i++)
6{
7std::cout << "index: " << i << " - value: " << myArray[i] << "\n";
8}
9return 0;
10}