Posts from C++

C++ program to check if two arrays are equal or not

By Kunal Kamble

Hello, friends in this tutorial we will write a program to check if two arrays are equal or not in C++. An array is a collection of homogeneous i.e similar type of data stored in c.... Read More

How to use Void pointer in C++?

By Gorakh Chavan

In this post, we are going to learn about void pointers and their use in C++. This post will help you to better understand the concept of a void pointer using C++. After that, we w.... Read More

How to use PAIRS within a SET in C++

By Meetali Tomer

In this tutorial, we will learn briefly about pairs and sets in C++ and then how to use pairs within a set. PAIRS IN C++ A pair in C++ is a container that stores two values which .... Read More

Complex Number Multiplication in C++

By Meetali Tomer

In this tutorial, we will learn complex number multiplication in C++. Complex Numbers Complex numbers are a combination of a (real part)  and b ( imaginary part ) written in the f.... Read More

Find Number of sub-arrays having sum exactly equal to k in C++

By Palani M

In this tutorial, we will learn how to find the number of sub-arrays with a sum exactly equal to a given number in C++. We will not be discussing how to find one such sub array giv.... Read More

Left rotate an array by D places in C++

By Kunal Kamble

Hello, friends in this tutorial we will learn to left rotate an array by D places and write the code for it in C++. An array is a collection of elements of similar data types store.... Read More

What are smart Pointers in C++

By Pratik Tayade

In this short tutorial, we are going to discuss the smart pointers in C++. Basically, we are going to cover the topics what do smart pointers mean? Which are smart pointers availab.... Read More

C++ program to fill whole memory

By Aman Saini

Hello learners, today in this tutorial we will learn how to write a program in C++ that can fill the whole memory of our system. With the help of the new keyword, we can allocate .... Read More