Find the second largest element in an array with minimum no of comparisons and give the minimum no of comparisons needed on an array of size N to do the same.
No Answer is Posted For this Question
Be the First to Post Answer
How can I write a function that takes a format string and a variable number of arguments?
how to TOGGLE Nth bit of variable in a MACRO
Write a main() program that calls this function at least 10 times. Try implementing this function in two different ways. First, use an external variable to store the count. Second, use a local variable. Which is more appropriate?
What does %c mean in c?
WAP to accept basic salary of an employee? Calculate it HRA=25%,DA=30%,PF=30%&net salary display all contents?
6 Answers Finite Infotech, Lovely Professional University, Wipro,
How can you determine the maximum value that a numeric variable can hold?
Write the program with at least two functions to solve the following problem. The members of the board of a small university are considering voting for a pay increase for their 10 faculty members. They are considering a pay increase of 8%. Write a program that will prompt for and accept the current salary for each of the faculty members, then calculate and display their individual pay increases. At the end of the program, print the total faculty payroll before and after the pay increase, and the total pay increase involved.
What is the difference between ++a and a++?
Explain output of printf("Hello World"-'A'+'B'); ?
what is a function method?give example?
what is the difference between structure and union?
Why do we need volatile in c?