What is a pre-processor? Pre-processing is a program that will be executed automatically before passing the source program to the compiler. Pre-processing is under the control of pre-processor directives. All preprocessor directives start with a pound (#) symbol & should be not ended with a semicolon (;). When we areContinue Reading

Storage Classes in C Language: C Storage classes provide the following information to the compiler How many types of storage classes are there in the c programming language? Depending on the behavior and storage area storage classes are classified into two types, such as What is the automatic storage class?Continue Reading

Adding user-defined functions in C Library In this article, I am going to discuss the Adding user-defined functions in C Library with an example. Please read our previous articles, where we discussed the Recursive Functions in C. How to Add user-defined functions in C Library? Steps for adding our own functions in CContinue Reading

Types of Recursion in C Language: There are five types of recursions. They are as follows: Note: We will discuss each of the above recursion with examples as well as we will also see the differences between them. Also, we will try to compare the recursion with the loop and seeContinue Reading

How Recursion Uses Stack in C? We already discussed that the memory is used by dividing into three sections i.e. code section, stack section, and heap section. We will take the following example and will show you how the stack is created and utilized as a recursive function. As shownContinue Reading

What is Recursion? Before understanding Recursion, let us have a look at the below image. Here we have the main function and one more function called function ‘fun’ and that fun function is called by the main function. First, we need to understand how this function call is made andContinue Reading

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