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
plz answer.. a program that takes a string e.g. "345" and returns integer 345
Write any data structure program (stack implementation)
write a c program to find the square of a 5 digit number and print the result.
5 Answers Accenture, Sasken, Vimukti Technologies,
Can we include one C program into another C program if yes how?
Method Overloading exist in c ?
List the variables are used for writing doubly linked list program.
Disadvantages of C language.
what is the maximum no. of bytes calloc can allocate
can we write a program in c for printf and scanf without using header file stdio.h
What is the difference between struct and union in C?
What is the use of structure padding in c?
what type of language is C?