This blog post explains the merge sort algorithm and its implementation using the C programming language. So before writing the C code for the merge sort let’s first understand the merge sort algorithm. What is Merge Sort Algorithm: Merge Sort is one of the most popular sorting algorithms and it…

Operator Overloading MCQ C++ with answers and explanations for placement tests and job interviews. These solved C++ Operator Overloading MCQ questions are useful for the campus placement of all freshers including Engineering Students, MCA students, Computer and IT Engineers, etc. Our C++ Operator Overloading MCQ ( C++ Operator Overloading Multiple…

In C++, operator overloading allows you to redefine the functionality of the allowed operators, such as “+”, “-“, “=”, “>>”, and “<<“. It is a compile-time polymorphism in which the operator keyword is used for operator overloading. Operator overloading is a great technique to give special meaning to an existing…

pointers vs references in cpp

In C++  pointer and reference, both are used to access the object indirectly. So it is important to know when to use the pointer and when to use reference. This article explains the difference between pointer and reference (Pointers vs References) in C++. Here, I will discuss some important differences…