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

List the difference between a 'copy constructor' and a 'assignment operator' in C?

1141


What is queue in c?

1157


In which layer of the network datastructure format change is done

1944


Is it better to use a pointer to navigate an array of values, or is it better to use a subscripted array name?

1137


why we wont use '&' sing in aceesing the string using scanf

2427


Is file a keyword in c?

983


Who is the founder of c language?

1224


Explain the priority queues?

1140


How can I convert a number to a string?

1254


What's the total generic pointer type?

1109


What is the difference between if else and switchstatement

2003


Why do we need functions in c?

1082


Is it better to use malloc() or calloc()?

1175


How to establish connection with oracle database software from c language?

2259


What does char * * argv mean in c?

1121