Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Answer Posted / santhoo035

c

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Take an MxN matrice from user and then sum upper diagonal in a variable and lower diagonal in a separate variables. Print the result

1849


What are register variables in c?

978


Explain the difference between call by value and call by reference in c language?

1057


What is a pointer and how it is initialized?

1085


Explain what are the advantages and disadvantages of a heap?

1036


Why should I prototype a function?

1122


What are the __date__ and __time__ preprocessor commands?

1044


How can I check whether a file exists? I want to warn the user if a requested input file is missing.

1087


What are the types of type qualifiers in c?

1033


Why header files are used?

1067


What is a pointer on a pointer in c programming language?

1093


a c variable cannot start with a) an alphabet b) a number c) a special symbol d) both b and c above

1174


What is the meaning of typedef struct in c?

1006


What is data structure in c language?

1061


How can I do graphics in c?

984