Suppose that data is an array of 1000 integers. Write a single function call that will sort the 100 elements data [222] through data [321].


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C++ General Interview Questions

Differentiate between a copy constructor and an overloaded assignment operator.

0 Answers  


A company pays its salespeople on a commission basis. The salespeople receive $200 per week plus 9 percent of their gross sales for that week. For example, a saleperson who sells $5000 worth of merchandise in a week receives $200 plus 9 percent of $5000, or a total of $650. You have been supplied with a list of items sold by each salesperson. The values of these items are as follows: Item Value A 239.99 B 129.75 C 99.95 D 350.89 Write a program that inputs one salesperson's items sold in a week (how many of item A? of item B? etc.) and calculates and displays that salesperson's earnings for that week.

0 Answers  


What is Namespace?

5 Answers   HCL, Samsung,


Is nan a c++?

0 Answers  


what is a class? Explain with an example.

0 Answers  






write a c++ program that gives output 4 3 4 2 3 4 1 2 3 4 using looping statement

4 Answers  


What is the output of printf("%d")?

58 Answers   CTS, HCL, Infosys, TCS, Winit, Wipro,


Search for: what is pair in c++?

0 Answers  


Define virtual constructor.

0 Answers  


Of the numbers 12 23 9 28 which would be at the top of a properly implemented maxheap a) 28 b) 9 c) Any of them could be

0 Answers  


Is python better than c++?

0 Answers  


What is format for defining a structure?

0 Answers  


Categories