Scope Rule in C Language: In C, all variables have a defined scope. The region of the program over which the declaration of an identifier is visible is called the scope of the identifier. The scope relates to the accessibility, the period of existence, and the boundary of usage ofContinue Reading

Parameter Passing Methods in C Language In this article, we will learn the Parameter Passing Methods i.e. the 2 parameter passing methods (pass by value and pass by address). In order to explain these two parameter passing methods, we have taken 1 simple example which is the swapping of numbers. So, let usContinue Reading

In this article, I am going to discuss the Types of User-Defined Functions in C Language with examples. Please read our previous articles, where we discussed the Functions in C Language with Examples. There are four types of user-defined functions in C. They are as follows: Let us understand each of these function types withContinue Reading

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

For Loop in C Language: A for loop is a repetition control structure that allows you to efficiently write a loop that needs to execute a specific number of times. The for loop is used to iterate the statements or a part of the program several times. It is frequently used to traverse 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