Posts by Sanam Sahoo

Author Biographical Info: Not available

Virtual function vs Pure virtual function in C++

By Sanam Sahoo

Hello, Coders! In this section, we will study the concept of the virtual function and pure virtual function and the difference between them in C++. Virtual Function A virtual funct.... Read More

How to use cin.ignore in C++ to clear input buffer

By Sanam Sahoo

Hello, Coders! In this section, we will discuss and learn about the cin.ignore () function and its use in C++. So, let’s cover the below topics briefly: Buffer cin.ignore() f.... Read More

fmod() function in C++ and its uses

By Sanam Sahoo

In this section, we will learn the concept of fmod() function and understand its implementation with an example. fmod() function in C++ In C++ there are various types of inbuilt fu.... Read More

Pass array to functions in C++

By Sanam Sahoo

Hello, Coders! In this tutorial, we will learn how to pass an Array as an argument to a function in C++. In C++, an array can be passed to the functions just as the variables. We c.... Read More

Pointer to the Base Class in C++

By Sanam Sahoo

Hello, Coders! In this tutorial, we will discuss the concept of the base class pointer in C++ and its implementation in the program. Before going to the main topic let’s cove.... Read More

Convert int to string easily in C++

By Sanam Sahoo

Hello, Coders! In this tutorial, we will learn various ways to convert integer to string in C++. Let’s discuss the following conversion methods: stringstream class to_string(.... Read More

How to dynamically allocate a 2D array in C++

By Sanam Sahoo

Hello, Coders! In this C++ tutorial, we will learn about dynamic memory allocation, as well as initialize a 2D array in C++ using the pointers and new operator. Let’s briefly.... Read More

Related Posts