Networking, Programming and Graphics Tutorials

If statement - C++ [1/1]

Type:
If statement - C++
Level: Beginner Networking, Programming and Graphics Tutorials 
If statement - C++
Date: 2006-Dec-04
If statement - C++
Visited: 2019 times
If statement - C++
Rating: If statement - C++
If statement - C++
Author: Alex Plumpton

The if statement is a simple branching statement and aids in decision making. It is used to Control the flow of execution of a program. The if statement is a two-way branching statement, which is used in conjunction with a test expression. The general usage of an if statement is if (test expression). The test expression would be evaluated first and the control is transferred depending upon the value of the text expression.

If statement - C++
The working of a simple if statement is as follows, the test expression1 is evaluated first and then depending on the value of the test expression the control of the program gets transferred.

Rate this tutorial:                    
Networking, Programming and Graphics Tutorials - If statement - C++ [1/1] - Networking, Programming and Graphics Tutorials

Need a specific tutorial? Do not hesitate and submit a request!
Related Tags: input statement and output statement in C++  syntax for statement c++ for statement  for statement and do-while statement in c++ language  if statement c++ :?  c if statement  c if statement  while statement c++  while statement c++  c++ if else statement  if and else statement in c++