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 / subbu
answer is a
Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
What is the purpose of sprintf?
Explain the difference between getch() and getche() in c?
provide an example of the Group by clause, when would you use this clause
What does node * mean?
Can a function argument have default value?
How many levels of pointers have?
while initialization of array why we use a[][2] why not a[2][]...?
Is using exit() the same as using return?
i have to apply for rbi before that i need to know the the syllabus for the entrance questions. whethet it may be aps or techinical
write a program to find out prime number using sieve case?
When c language was developed?
What are static variables in c?
How do you use a pointer to a function?
What is malloc return c?
c programs are converted into machine language with the help of a) an interpreter b) a compiler c) an operatinf system d) none of the above