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

How many levels of indirection in pointers can you have in a single declaration?

1029


Tell me with an example the self-referential structure?

944


How main function is called in c?

1076


What is function prototype in c with example?

1005


if a is an integer variable, a=5/2; will return a value a) 2.5 b) 3 c) 2 d) 0

1884


How can I handle floating-point exceptions gracefully?

1110


Write the syntax and purpose of a switch statement in C.

1043


What is c programming structure?

1116


How do we open a binary file in Read/Write mode in C?

1181


What is a macro?

1053


Can you tell me how to check whether a linked list is circular?

1328


Why we use conio h in c?

1158


What are the general description for loop statement and available loop types in c?

1076


what is reason of your company position's in india no. 1.

2237


Explain what is a pragma?

996