Posts by Raghav Khandelwal
Author Biographical Info: Not available
In this tutorial, we will learn about the tilde (~) operator in C++. In C++ there are a total of 6 bitwise operators which are &(bitwise AND), |(bitwise OR), ^ (bitwise XOR),.... Read More
In this tutorial, we are going to learn how to give a warning when the user enters invalid input. In C++ while writing programs we use std::cin to ask the user to enter the input. .... Read More
In this tutorial, we will learn how to iterate over the words in a string in C++. A string is a data type in C++ used to store an array of characters. A string is different from a .... Read More
In this tutorial, we are going to learn about the function prototypes in C++. What is function prototyping? A function prototype is basically a declaration of the function that tel.... Read More
In this tutorial, we are going to learn about passing a function as a parameter in C++. A function is a block of code that is used for performing certain actions and runs only when.... Read More
In this tutorial, we are going to learn about return statements in C++ along with some examples. To get a clear understanding of the topic first let us understand what are return s.... Read More
In this tutorial, we will learn how to create a 2D array dynamically using pointers in C++. First, let us understand what is dynamic memory allocation. Memory in the C++ program is.... Read More
In this tutorial, we are going to learn how to set all the array elements to 0 (zero) in C++. Arrays in C++ are defined as a collection of items of a similar type stored at a conti.... Read More