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 can I call a function, given its name as a string?
1.)how to find d most repeated word in a string? string ="how do you do"?? output should be do
1 Answers AAS, Nagarro, Vuram,
Why do we use pointer to pointer in c?
fn f(x) { if(x<=0) return; else f(x-1)+x; }
Is c call by value?
What is an operator?
What is getche() function?
write a function that accepts an integer/char array and an search item.If the search item is there in the array return position of array and value else return -1.without using other array,without sorting,not to use more than one loop?
What's the difference between DELETE TABLE and TRUNCATE TABLE commands?
How will you divide two numbers in a MACRO?
Write a program to add a given duration with time(24hrs format)
What is a lookup table in c?