#include
#include
#include
#include
using namespace std;
int main()
{
int tab[] = { 5, 6,-6, 2, 4, 1, 14, -22, -8, 201, 2 };
int size=sizeof(tab)/sizeof(int);
// Trier le tableau à partir de l'index3
sort (tab+3, tab+size);
// Afficher les éléments
copy (tab, tab+size,ostream_iterator(cout," "));
cout << endl;
return 0;
}
/*
5 6 -6 -22 -8 1 2 2 4 14 201
*/