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

How will you find a duplicate number in a array without negating the nos ?

2117


What is the difference between new and malloc functions?

1102


What is the difference between malloc() and calloc() function in c language?

1056


What's a good way to check for "close enough" floating-point equality?

1142


How are variables declared in c?

1076


write a program to find out prime number using sieve case?

2072


What is the heap?

1209


What are header files in c?

1055


By using C language input a date into it and if it is right?

1059


What is a MAC Address?

1035


What is c token?

1047


What is restrict keyword in c?

1091


Why is it usually a bad idea to use gets()? Suggest a workaround.

1761


What is the use of gets and puts?

1010


Simplify the program segment if X = B then C ← true else C ← false

2994