Variable in C

Variable is like a container (storage space) with a name in which you can store data. It is a way to represent memory location through symbol so that it can be easily identified. The syntax to declare a variable is: Data type variable_name; The example of declaring the variable is given below: int a;float b;char

Variable in C Read More »

Recursion in C

Recursion is a process in which function call itself and the function that calls itself directly or indirectly called a recursive function. A recursive function calls itself so there can be several numbers of the recursive call, so the recursive function should have the termination condition to break the recursion. If there is a not

Recursion in C Read More »

Function in C

A function in C is a block of statements that has a name and can be executed by calling it from some other place in your program. functions are used to divide complicated programs into manageable pieces. Using functions has several advantages: Different people can work on different functions simultaneously. Using functions greatly enhances the

Function in C Read More »