Facebook Twitter Instagram
Posts in Category: C++

The Conditional Operator

onditional operator is somehow substitute to the if-else structure. It is also used to make two-way decision as we made in if-else. We need three ...

Posted on: 2024-10-08 04:37:58

Nested if-else

C++ allows us to use if-else statement in a nested form. Nested form is to use another if statement in an if statement. The if statement that cont...

Posted on: 2024-10-08 04:38:54

if-else if Statement

nother form of nested if-else if if-else if statement. It is use of else when there are more than one conditional statements that may all execute ...

Posted on: 2024-10-08 04:41:02

Switch Statement

witch statement is another structure used for selection decision making. In this structure we have multiple blocks of statements and only the se...

Posted on: 2024-10-08 04:43:02

Go to Statement

To clear the concept of control transfer we use goto statement. However, it is not a good practice to use goto statement because it creates ambigu...

Posted on: 2024-10-08 04:47:05