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 purpose of a constructor? Destructor?

0 Answers   Amazon,


Consider the following C++ program

0 Answers  


What does it mean to declare a member function as static in C++?

0 Answers   Amazon,


What is the difference between creating an object, using 'new' and using 'malloc'?

3 Answers   HFG, Siemens,


How to run C++ program in cmd

0 Answers  






Identify the error in the following program. include<iostream> using namespace std; void main() { int num[]={1,2,3,4,5,6}; num[1]==[1]num ? cout<<"Success" : cout<<"Error"; }

1 Answers  


Declare a pointer to a function that takes a char pointer as argument and returns a void pointer.

0 Answers   Alter,


What is RTTI and why do you need it?

0 Answers   Amazon,


Question on Copy constructor.

0 Answers   Alter,


Is deconstructor overloading possible? If yes then explain and if no Then why?

1 Answers  


Write a C++ Program to Find Sum and Average of n numbers using for loop.

1 Answers  


What is the difference between member functions and static member functions?

0 Answers   Alter,


Categories