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 / santhoo035
c
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What are bitwise shift operators in c programming?
Write a program to check whether a number is prime or not using c?
Do you know the use of 'auto' keyword?
Why header file is used in c?
What is a structure and why it is used?
Is a house a shell structure?
What is enumerated data type in c?
What is indirection in c?
what are non standard function in c
When is a null pointer used?
Why functions are used in c?
What is pointer in c?
In C language, the variables NAME, name, and Name are all the same. TRUE or FALSE?
Device an algorithm for weiler-atherton polygon clipping, where the clipping window can be any specified polygon
What is meant by errors and debugging?