Answers for "array sortieren c"

C
0

array sortieren c

int var;
for (int i = 0; i < size; ++i)
{
	for (int j = i + 1; j < size; ++j)
    {
		if (array[i] > array[j])
        {
        	var =  array[i];
            array[i] = array[j];
            array[j] = var;
        }
	}
}
Posted by: Guest on September-16-2021

Code answers related to "C"

Browse Popular Code Answers by Language