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: 1559 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: c++ else statement  "do while statement C++"  if statement c++  The if statement c++  while statement in C++  if else statement in c++  if statement c++  c++ if else statement  c++ while statement  c++ if statement  do - while statement in c++  the for statement in c++  for statement in c  do while statement in c++  the for statement in c++  the for statement in c++  c++ for statement  if statement c++  if-else-statement example (C++)  do while statement in c