second highest number in a given set of numbers

Answer Posted / kartik

Read the set of numbers in to an array ,sort it using bubble
sort(ascending order logic),the last but one number wil be
second highest number.....

Is This Answer Correct ?    9 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a structure member in c?

528


How can I make sure that my program is the only one accessing a file?

661


Tell me what is the purpose of 'register' keyword in c language?

599


When is a void pointer used?

668


Tell me when is a void pointer used?

632






how to build a exercise findig min number of e heap with list imlemented?

1596


Explain modulus operator.

580


Explain how do you search data in a data file using random access method?

680


Lists the benefits of c programming language?

574


What is static and auto variables in c?

546


What is the purpose of macro in C language?

651


How can you convert integers to binary or hexadecimal?

602


What is null character in c?

671


What is c system32 taskhostw exe?

568


Explain about the functions strcat() and strcmp()?

587