Write a function that swaps the values of two integers, using int* as the argument type?


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

Post New Answer

More C++ General Interview Questions

Define what is constructor?

0 Answers  


What are smart pointers?

3 Answers  


What are raw sockets, where they are efficient?

2 Answers   Symphony,


Comment on local and global scope of a variable.

0 Answers  


What is stl containers in c++?

0 Answers  


Differentiate between the message and method in c++?

0 Answers  


What is polymorphism and its type in c++?

0 Answers  


How long will it take to learn programming?

0 Answers  


Write a c++ code that will calculate the roots of a quadratic equation a2+ bx+c=0 Hint: d = sqrt (b2-4ac), and the roots are: x1 = (€“b + d)/2a and x2 = (€“b €“ d)/2a (use sqrt function from cmath.h )?

0 Answers   Maxobiz,


Which sort is best for the set: 1 2 3 5 4 a) Quick Sort b) Bubble Sort c) Merge Sort

0 Answers  


Why do we need templates?

0 Answers  


What is the need of a destructor? Explain with the help of an example.

0 Answers  


Categories