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
Differentiate between declaring a variable and defining a variable?
Write a program that takes a 5 digit number and calculates 2 power that number and prints it(should not use big integers and exponential functions)
1. Write a function to display the sum of two numbers in the following ways: By using (i) pass by value (ii) pass by address a. function with argument and with return value b. function with argument and without return value c. without argument , with return value d. without argument , without return value Note: Use pass by address.
What are the types of variables in c?
Can you please compare array with pointer?
What do you mean by c?
What does %d do in c?
Explain what is #line used for?
Write a programme using structure that create a record of students. The user allow to add a record and delete a record and also show the records in ascending order.
What are c preprocessors?
What does the file stdio.h contain?
how do you write a function that takes a variable number of arguments? What is the prototype of printf () function?
Describe the header file and its usage in c programming?
Explain what are the different data types in c?
What is sizeof int in c?