C++ is one of the most versatile languages in the world. It is used nearly everywhere for everything… systems programming (operating systems, device drivers, database engines, embedded, Internet of Things, etc.)

Enter Header Image Headline Here

Saturday, 15 April 2017

C++ if Statement

                                            C++ if  Statement


The if statement evaluates the test expression inside parenthesis.

If test expression is evaluated to true, statements inside the body of if is executed.

If test expression is evaluated to false, statements inside the body of if is skipped.













How if statement works ?



Flowchart of if Statement






















Above figure describes the working of an if statement.

Example : C++ if Stament







0 comments:

Post a Comment

Popular Posts

Recent Posts

Categories

Unordered List

Text Widget