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
List the different types of c tokens?
Why pointers are used in c?
Simplify the program segment if X = B then C ← true else C ← false
What are the different types of constants?
If a five digit number is input through the keyboard, write a program to print a new number by adding one to each of its digits.For example if the number that is input is 12391 then the output should be displayed as 23402
How can I run c program?
What is table lookup in c?
How do you override a defined macro?
What is static identifier?
Is there a way to switch on strings?
Explain the meaning of keyword 'extern' in a function declaration.
What is the modulus operator?
Explain how do you search data in a data file using random access method?
"%u" unsigned integer print the a) address of variable b) value of variable c) name of a variable d) none of the above
What are the data types present in c?