5. 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 reason of your company position's in india no. 1.
Write c-code for 5+55+555+5555+55555+555555+5555555. Output will be it's answer...
write a c program in such a way that if we enter the today date the output should be next day's date.
WHAT IS PRE POSSESSORS?
what is difference between ++(*p) and (*p)++
17 Answers Accenture, HCL, IBM,
What is difference between class and structure?
The number of bytes of storage occupied by short, int and long are a) 2, 2 and 4 b) 2, 4 and 4 c) 4, 4 and 4 d) none
What is the best way to comment out a section of code that contains comments?
What are the types of type specifiers?
program that accepts amount in figures and print that in words
2 Answers Infosys, Lovely Professional University, Wipro,
What the advantages of using Unions?
what is the difference between #include<stdio.h> and #include "stdio.h" ?