second highest number in a given set of numbers

Answer Posted / suriya

put all nos. in an array and sort it using selection sort in
ascending order the last no. will be the second highest no.

Is This Answer Correct ?    6 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how is the examination pattern?

1582


Explain how can I manipulate strings of multibyte characters?

767


Explain what is the benefit of using an enum rather than a #define constant?

706


Is r written in c?

714


Which is an example of a structural homology?

764






Why & is used in scanf in c?

604


Write a program to know whether the input number is an armstrong number.

658


What is header file definition?

556


Add Two Numbers Without Using the Addition Operator

341


Declare the structure which contains the following members and write in C list of all students who score more than 75 marks. Roll No, Name, Father Name, Age, City, Marks.

619


Explain what will the preprocessor do for a program?

585


Is c dynamically typed?

659


Describe the header file and its usage in c programming?

607


the process of defining something in terms of itself is called (or) in C it is possible for the functions to call themselves. A function called a) nested function b) void function c) recursive function d) indifinite function

748


What is union and structure?

561