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
Answer Posted / jitendra kumar arya
c)seletoin sort
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Why is not a pointer null after calling free?
Is register a keyword in c?
What is the use of in c?
How can I make sure that my program is the only one accessing a file?
How do you define a function?
What was noalias and what ever happened to it?
What are the two types of structure?
What is header file in c?
What does node * mean?
How can I pad a string to a known length?
What is #line in c?
Can we access array using pointer in c language?
if p is a string contained in a string?
What does void main () mean?
How many main () function we can have in a project?