*
#include
using namespace std;
int main()
{
int n;
cout<<"Enter the size of array : "<>n;
int array[n];
cout<<"Enter elements : "<>array[a];
}
cout<<"Starting selection sort : "<array[j])
{
min_index=j;
}
}
if (min_index != i)
{
int temporary;
temporary=array[min_index];
array[min_index]=array[i];
array[i]=temporary;
}
}
for(int k=0;k
Quote: