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
Is there a way to jump out of a function or functions?
how do you redirect stdout value from a program to a file?
can we implement multi-threads in c.
What are the 5 types of organizational structures?
What is the use of f in c?
in which language c language is written?
Write a function which takes as parameters one regular expression(only ? and * are the special characters) and a string and returns whether the string matched the regular expression.
How is a null pointer different from a dangling pointer?
write a program to print sum of each row of a 2D array.
wt is diference between int and int pointer as same as float and float pointer and char and char pointer
how do you execute a c program in unix.
Find the second largest element in an array with minimum no of comparisons and give the minimum no of comparisons needed on an array of size N to do the same.