What are the Functions of C Language? The function is a piece of code that performs a specific task. We have already studied structures. In structure, we studied that structure is a group of related data members. Now, the function is a group of related instructions that perform a specificContinue Reading

Goto Statement in C Language: It is a keyword. By using this keyword we can pass the control anywhere in the program in the local scope. When we are working with the goto statement it required an identifier called a label. Any valid identifier followed by a colon is calledContinue Reading

Return Statement in C Language: The return statement terminates the execution of a function and returns control to the calling function. Execution resumes in the calling function at the point immediately following the call. A return statement can also return a value to the calling function. A return statement causes your function to exit and hand back aContinue Reading

Continue Statement in C Language: Continue is a keyword. By using continue we can skip the statement from the loop body. Using continue is always optional but it should be placed within the loop body only. In an implementation where we know the maximum number of repetition but some conditionContinue Reading

What are Jump Statements in C Language? Jump statements are used to modify the behavior of conditional and iterative statements. Jump statements allow you to exit a loop, start the next iteration of a loop, or explicitly transfer program control to a specified location in your program. C provides theContinue Reading

Do while loop in C Language: The do-while loop is a post-tested loop. Using the do-while loop, we can repeat the execution of several parts of the statements. The do-while loop is mainly used in the case where we need to execute the loop at least once. The do-while loopContinue Reading

What is looping? The process of repeatedly executing a statement or group of statements until the condition is satisfied is called looping. In this case, when the condition becomes false the execution of the loops terminates. The way it repeats the execution of the statements will form a circle that’sContinue Reading

Switch Statements in C Language: The switch is a keyword, by using the switch keyword we can create selection statements with multiple blocks. Multiple blocks can be constructed by using a “case” keyword. Switch case statements are a substitute for long if statements that compare a variable to several integralContinue Reading

Nested if-else statements in C Language: When an if-else statement is present inside the body of another “if” or “else” then this is called nested if-else. Nested ‘if’ statements are used when we want to check for a condition only when a previous dependent condition is true or false. C allows us to nested if statements within if statements, i.e. we can place an if statementContinue Reading

If Else statements in C Language with Examples In this article, I am going to discuss If Else Statements in C Language with Examples i.e. how if and if-else block gets executed with the help of syntax, flow chart, and multiple examples. Please read our previous articles, where we discussed the basicsContinue Reading