Code360 powered by Coding Ninjas X Naukri.com. Code360 powered by Coding Ninjas X Naukri.com
Last updated: Feb 15, 2022

Control Statements

We’ll learn about control statements which help you to control movements of data and also help you to make decisions based on the conditions. The normal flow of execution in a high-level language is sequential, i.e., each statement is executed in the order of its appearance in the program. However, depending on the requirements of a problem it might be required to alter the normal sequence of execution in a program. The statements which specify the order of execution of statements are called control flow statements. There are many control flow statements provided in C++ like Conditional statements, Iteration statements, and Jump Statements
Decision Making in C / C++ (if , if..else, Nested if, if-else-if ) EASY
This article explains about decision making statements in C/C++.
C++ Break Statement EASY
In this blog, we will learn about the C++ break statement. We will also write examples for a better understanding of the break statement.
Do While Loop In C++ EASY
In this article, we will cover the syntax of a do-while loop, how it executes, a flow diagram which will show its working, & some examples to help you understand its usage.
Conditional Statements EASY
This blog will cover what conditional statements are, what all conditional statements are in C++, and their uses.
Difference between if else and Switch EASY
The if-else statement evaluates various data types, including integers, characters, pointers, while the switch statement assesses only character or numeric data types.
Iteration Statements in C++ EASY
This article discusses Iteration statements. We are going to look in detail what exit and entry controlled loops are and also going to look at the implementation in C++.
Jump Statements in C++ EASY
This article discusses Jump Statements.
Range Based for Loop C++ EASY
In this article, learn about range based for loop in C++ with syntax, implementation, and examples. Also, read the benefits of range based for loop in c++.
Difference between Entry Control Loop and Exit Control Loop EASY
In this article, we will discuss the difference between Entry Control Loop and Exit Control Loop.