While and do while loop in C++

In this tutorial, we will learn how to execute statements repeatedly using ‘while and do while loop in C++’ , there difference and how and where to use them with examples. There may be a condition in where you  will need to execute a block of statement multiple times. Executing the same block of statement multiple time

for loop in C++

In this tutorial, we will learn how to execute statements repeatedly using for loop with examples. There may be a condition in which you need to execute a block of statement multiple times. Executing the same block of statement multiple time is called loop.  Syntax of for loop: Here’s how the above code will work. The initialization

C++ Programming for beginners

History The C++ programming language was created by Bjarne Stroustrup and his team at Bell Laboratories (AT&T, USA). C++ reads as C plus plus was derived from C programming language. ++ denotes the increment operator in C meaning increment of C is C++.  C++ greatly influenced development of C# and Java. Characteristics of C++ C progarm

Input/Output in C programming

In this tutorial, we will learn about the ‘input output operation in C’. We will focus on the most commonly used functions of some standard library scanf() and printf(). Formatted Input: scanf() Scanf() function obtains data from input source, keyboard.   Syntax: Example: scanf() reads the data provided from standard input and process them to the specified