Posts by Barshan Paul

Author Biographical Info: Not available

How to round off numbers nearest 10 in C++

By Barshan Paul

This tutorial will show you how to round off numbers to their nearest 10th multiple in C++. This means if we enter the number 21 the program will give an output 20. And if we give .... Read More

How to detect a loop in a linked list in C++

By Barshan Paul

How to detect a loop in a linked list in C++: This program will tell us how to detect a loop in a linked list in C++. Those of you who don’t know what is a linked list:  Sin.... Read More

How to use “pow” function in C++

By Barshan Paul

In this context, we will learn how to use pow function in C++ to find the power of a given number to another given number. The function pow is a predefined function of the “M.... Read More

How to remove odd numbers from a linked list in C++

By Barshan Paul

In this program, we will see how to remove odd numbers from a linked list in C++. This is a very interesting program where we will learn how to remove odd numbers from a linked lis.... Read More

How to copy elements of one array to another in C++

By Barshan Paul

This is a very simple and easy to understand topic where we will learn how to copy elements of one array to another in C++. We all know about arrays. Those who don’t know abo.... Read More

Find the position of rightmost unset bit of a number in C++

By Barshan Paul

We all know everything on the computer is represented by 0’s and 1’s, be it a number or an alphabet, any image or a file. Such numbers are called binary bits. We know, .... Read More

How to solve the staircase problem in C++

By Barshan Paul

So what is the staircase problem? This is a pretty interesting one. let’s start learning how to solve the staircase problem in C++. Suppose you are standing at the bottom of .... Read More

How to merge two arrays in C++

By Barshan Paul

In this problem, we will learn how to merge two arrays in C++ programming. You have to ask the user to enter the array 1 size and elements then size of the second array and element.... Read More

Related Posts