Decision making in C++ by R4R Team

In C++, Decision making is work as similar as in C language.

How many decision making statement are in C and C++ language?
-If else
-Switch case
-(?:)

Syntax of if else:

if(condition)
{
body
}
else
{
}

Syntax of Switch case:
switch(variable)
{
case value1:
body;
case value2:
body;
.
.
.
default:
body;
}




Leave a Comment:
Search
Categories
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!