What kind of sorting is this?
SORT (k,n)
1.[Loop on I Index]
repeat thru step2 for i=1,2,........n-1
2.[For each pass,get small value]
min=i;
repeat for j=i+1 to N do
{
if K[j]<k[min]
min=j;
}
temp=K[i];K[i]=K[min];K[min]=temp;
3.[Sorted Values will be returned]
A)Bubble Sort
B)Quick Sort
C)Selection Sort
D)Merge Sort
Answers were Sorted based on User's Feedback
what is the other ways to find a logic to print whether a number is an even or odd wit out using % symbol??????? i know three different ways to print it. so i need any other different logic>>>>>
how to find your architecture is LittleEndian or BigEndian?
What's a "sequence point"?
What is malloc calloc and realloc in c?
what is the difference between global variable & static variable declared out side all the function in the file.
code for inverse a matrix
What happens if header file is included twice?
how to swap 4 number without using temporary number?
helllo sir , what is the main use of the pointer ,array ,and the structure with the example of a programe
which of the following shows the correct hierarchy of arithmetic operations in C a) (), **, * or/,+ or - b) (),**,*,/,+,- c) (),**,/,*,+,- d) (),/ or *,- or +
What is the size of a union variable?
What is sizeof int in c?