C Programming

C is a general-purpose, middle-level, compiler-based, and procedure or function-oriented structured programming language. It was developed by Dennis Ritchie at Bell Laboratories in 1972. The main purpose of developing C was to write operating systems.

Related Pages

User Defined Functions in C

We can write user defined functions in C. In addition to standard library functions supplied by the system, C allows programmers to write their own functions for a specific work to accomplish. A function defined by the user to accomplish a task is called a user defined function. Prerequisites:- Introduction to Function in C Types of […]

User Defined Functions in C Read More »

Introduction to Function in C

A function is a block of code that performs a specific task. For example, the main is function and every program execution starts from main function in C programming. The C program is made of one or more functions. Every program must have at least one function with the name main. The execution of the

Introduction to Function in C Read More »

Recursion in C

In this tutorial, we will know what is the recursive function and what is recursion in C programming language? Difference between iteration and recursion. Advantages and disadvantages of recursion function. A function that contains a call to itself is called the recursive function. A technique of defining the recursive function is called recursion. The recursive

Recursion in C Read More »

Scope of Variables in C

The scope of variables in C language is the portion of the program where the program can be referenced. For example, when we define a local variable in a block, it can be referenced only following its declaration in that block or in blocks nested within that block. The two identifier scopes are block scope

Scope of Variables in C Read More »

Storage Classes in C

Storage classes in C decide the behavior or properties of a variable like storage, initial values, scope, and lifetime. Storage area:- Where the variables stored.Initial values:- The initial (by default) value of a variable without initialization.Scope:- In which blocks these variables are available that is where we can use these variables. Lifetime:- Until where these

Storage Classes in C Read More »