#include #include #include using namespace std; int main() { int array1[] = { 10, 20, 30 , 40, 50 } ; //Range based loop for( int x1: array1 ) { //cout << "X1:" << x1 << endl ; x1++ ; } for( int x1: array1 ) cout << x1 << " " ; cout << endl ; //return 1; //Range based loop for( int& x1: array1 ) x1++ ; for( i1=0 ; i1< 4; i1++ ) array1[i1] ++ ; //Range based loop for( int x1: array1 ) cout << x1 << " " ; return ( 1 ) ; }