Posts by Tanmaay Kankaria
Author Biographical Info: Not available
In this C++ article, given an array of size N, we have to print the elements of the left rotated array by d positions. Let’s take the help of an example. Input: n = 7, d = 2 arra.... Read More
In this article, we are going to learn what are assignment operators and their various types in C++. Assignment operators, as the name suggests are used for assigning value to a va.... Read More
In this article, we are going to learn how to add binary numbers in C++. A binary number is written in the base-2 numeral system, which for representation uses only “0”.... Read More
In this article, given three numbers a, b and n, where a and b are the first two terms of the XOR Fibonacci series, we have to find the nth term. The Nth term of the XOR Fib.... Read More
In this article, we are going to learn how to remove the last element from an array in C++. To delete the last element from an array we first get the array size and the array eleme.... Read More
In this article, we are going to learn how to sort an array and remove the duplicate elements in C++. We first get the array size and the array elements from the user. As we want t.... Read More
In this article, we are going to learn how to remove digits from a string in C++. Strings are an array of characters. The main difference between a character array and a string is .... Read More
In this article, we are going to learn how to compare two strings in C++ language. After the user enters the two strings to be compared we can use the strcmp() function which is a.... Read More