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...

program to find a smallest number in an array

Answer Posted / subash

&a[i]);
i=0;
for(int j=0;j<n-1;j++)
{
if(a[j+1]<a[j])
{
temp=a[j+1];
a[j+1]=a[j];
a[j]=temp;

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

write a program for the normal snake games find in most of the mobiles.

2269


Explain Function Pointer?

1190


Why c is a procedural language?

1093


Did c have any year 2000 problems?

1120


Write a program to display all the prime nos from 1 to 1000000, your code should not take time more than a minute to display all the nos.

2091


What is a #include preprocessor?

1168


Explain can the sizeof operator be used to tell the size of an array passed to a function?

1086


What is c token?

1080


Explain what are reserved words?

1117


What are runtime error?

1152


What is 'bus error'?

1166


Are global variables static in c?

1180


What Is The Difference Between Null And Void Pointer?

1277


What is wrong in this statement?

1168


What is main function in c?

1094