Find the second maximum in an array?

Answer Posted / v

This will fail if the input array is {-1,-2,-3}

Is This Answer Correct ?    17 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we inherit constructor in c++?

584


What is diamond problem in c++?

537


What are vectors used for in c++?

617


Can we define function inside main in c++?

551


Show the declaration for a pointer to function returning long and taking an integer parameter.

572






What is a manipulative person?

540


what is software cycle? What is a mission critical system ? What is the important aspect of a real-time system ? Explain the difference between microkernel and macro kernel. Give an example of microkernel.Why paging is used ? Which is the best page replacement algo and Why ? What is software life cycle ? How much time is spent usually in each phases and why Which one do U want to work if selected in Honeywell ? Which are the different types of testing ? What is a distributed system ? Some questions about CSP. Which languages do U know ? What are the differences between Pascal and C. questions from Compiler construction and Lisp. Which are the different computer architecture? What is the requirement in MIMD ? What is the difference between RISC and CISC processors ? Difference between loosely coupled and tightly coupled systems ? What is an open system?

1767


Why is standard template library used?

578


What's the hardest coding language?

571


What is the use of seekg in c++?

595


What are c++ redistributables?

557


What are c++ tokens?

590


What do you mean by overhead in c++?

575


Is c++ a low level language?

509


Write a program that takes a 5 digit number and calculates 2 power that number and prints it.

2065