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

Find the second maximum in an array?

Answer Posted / jagdish patel

it's simple just sort an array in descending and then
print 2nd element of an array!!!!

Is This Answer Correct ?    27 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What kind of jobs can I get with c++?

1116


How does atoi function work?

1156


How delete [] is different from delete?

1011


What are the classes in c++?

1112


What c++ is used for?

1097


What do you understand by pure virtual function? Write about its use?

1006


What does the nocreate and noreplace flag ensure when they are used for opening a file?

1119


What is the main function c++?

1130


What language does google use?

1173


Write my own zero-argument manipulator that should work same as hex?

1053


What is a float in c++?

985


How do you differentiate between overloading the prefix and postfix increments?

1095


What are the two types of comments, and how do they differ?

1138


How do c++ struct differs from the c++ class?

1200


Write a program for Divide a number with 2 and Print the output ( NOTE: Check for divide by zero error).

1111