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
How does sizeof know array size?
Where is volatile variable stored?
difference between the array and linked list general difference related to memory
What are local static variables? How can you use them?
Write a program using two-dimensional array that lists the odd numbers and even numbers separately in a 12 input values.
what information does the header files contain?
6 Answers BSNL, Cisco, GDA Technologies,
What is null character in c?
Write a program that takes a 5 digit number and calculates 2 power that number and prints it.
Find string palindrome 10marks
5 Answers Honeywell, Infosys, Riktam, Roland,
Why isn't any of this standardized in c? Any real program has to do some of these things.
What are local and global variables?
What does 1f stand for?