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
When do you not use the keyword 'return' when defining a function a) Always b) Never c) When the function returns void d) dfd
What kind of structure is a house?
What is the difference between formatted&unformatted i/o functions?
What is time null in c?
pgm to find number of words starting with capital letters in a file(additional memory usage not allowed)(if a word starting with capital also next letter in word is capital cann't be counted twice)
What is function prototype in c with example?
What is dangling pointer in c?
What is %s and %d in c?
How do you convert a decimal number to its hexa-decimal equivalent.Give a C code to do the same
Difference between macros and inline functions? Can a function be forced as inline?
Write the program that calculates and prints the average of several integers. Assume that the last value read is sentinel 9999.
Write a program to use switch statement.
Explain about the constants which help in debugging?
Design a program which assigns values to the array temperature. The program should then display the array with appropriate column and row headings.
What does node * mean?