In C Based languages, which boolean operator can be used to simplify nested IF statements of the form IF ConditionA Then If ConditionB Then C
- And Also
- And
- Or Else
- Or
![In C Based languages, which boolean operator can be used to simplify nested IF statements of the form IF ConditionA Then If ConditionB Then C In C Based languages, which boolean operator can be used to simplify nested IF statements of the form IF ConditionA Then If ConditionB Then C](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjre4bMTu9KvjMc1Y6oksGW2yRVPmdz7mSVFrooOtKhIyKF38Z0-vHg8h0u8M0lXeqJfaTPPT4_6Aist2Pf4xCSssN3GvCQglyV2YRKB1NhcAiwKTEunvvZ06iSWzoYNmAHe59DnGGYT_ws/s1600-rw/techlanda_Quiz.png)
EXPLANATION
In a 'C' program are executed sequentially. This happens when there is no condition around the statements. If you put some condition for a block of statements the flow of execution might change based on the result evaluated by the condition. This process is referred to as decision making in 'C.' The decision-making statements are also called as control statements.
In 'C' programming conditional statements are possible with the help of the following two constructs:
1. If statement
2. If-else statement
It is also called as branching as a program decides which statement to execute based on the result of the evaluated condition.
0 comments:
Post a Comment