Execute the qsort () in c/sort() in c++ library or your own custom sort which will sort any type of data on user defined criteria.


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

Post New Answer

More C++ Interview Questions

What is the meaning of the following declaration: int *const *const *i?

0 Answers   Adobe,


dynamic scoping is

0 Answers   Siemens,


Write a program to generate the Fibonocci Series in C++.

0 Answers   Accenture,


What is the difference between Stack and Queue in C++?

0 Answers   Global Logic, iNautix,


What does it mean to declare a function or variable as static?

0 Answers   Amazon,


How will you execute a stack using a priority queue? (Push and pop should be in O (1)).

0 Answers   Adobe,


What are the advantages/disadvantages of using #define?

0 Answers   Amazon,


Write a program to read two numbers from the keyboard and display the larger value on the screen

1 Answers  


Write a program to display the following output using a single cout statement Maths=90 Physics=77 Chemistry = 69

2 Answers  


What is an algorithm (in terms of the STL/C++ standard library)?

0 Answers   Amazon,


Explain the FOR loop with a help of a code.

0 Answers   Accenture,


Write a program to input an integer from the keyboard and display on the screen “WELL DONE” that many times.

1 Answers  


Categories