Decision Making Statements In C - DotNetTricks

June 13, 2022 India, Delhi, Central Delhi 7


Decision making statements allow you to decide the order of execution of specific statements in your program. You can set up a condition and tell the compiler to take a particular action if the condition is met. In case the condition is not met, you can instruct the compiler to execute a different block of code. The decision making statements in C++ are : if statement, if .. else statement, nested if statements, if-else-if ladder, switch statement.

Share by email Share on Facebook Share on Twitter Share on Google+ Share on LinkedIn Pin on Pinterest