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

how to find the largest element of array without using relational operater?

Answer Posted / dhakchina moorthy.p

sort the array first and then have the last element of the
array, which is always larger then the remaining.

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Study the following C program :call_me (myvar)int myvar;{ myvar +- 5; }main(){int myvar;myvar = 3;call_me(myvar);printf("%d ",myvar);What will be printed a) 3 b) 5 c) 8 d) symbol

1124


What is realloc in c?

1115


can we have joblib in a proc ?

2310


What are valid signatures for the Main function?

1238


how can f be used for both float and double arguments in printf? Are not they different types?

1072


What is string in c language?

1161


What are the characteristics of arrays in c?

1054


How can I find out how much free space is available on disk?

1057


What is New modifiers?

1130


what are the advanced features of functions a) function declaration and prototypes b) calling functions by value or by reference c) recursion d) all the above

1124


What is the use of in c?

1031


Is int a keyword in c?

984


What are types of functions?

1042


write an algorithm to display a square matrix.

2711


Whats s or c mean?

1027