C is called a procedural programming language because it follows a specific process to develop the program. it was initially developed by Dennis Ritchie in 1972 at Bell Laboratory. it was mainly developed to write an operating system. so it is also called a system programming language.
For an programmer it always need to know about the basics concepts of c programming
By – a programmer
because it is a fast-compiled programming language. most programming languages like C++, java, and javascript copy the syntax, and way of c programming. and C++ is the almost second copy of c programming.
what we are going to learn in this tutorial
- C Programming Introduction
- Basics concepts of c programming
- Keywords in C programming
- Simple c program
After reading this tutorial you should have basics knowledge of c programming. before we get started with c programming let’s take a look at the Versions of c programming.

for the first time when the c was created in 1972. it was not c programming because it was lower-scale programming.
Basics Concepts of C Programming
Before you get started with c programming you should have at least basic knowledge of c programming.
#include
this syntax is used to include one source file or header file into the program or file.
<stdio.h>
It is a header file that defines the standard stream objects that input and output data.
printf
It is a function that is used to generate the output or print the message on the output screen.
scanf
It is a function that is used to scan the user inputs using the format specifiers.
argument
It is a piece of data that is passed into a function or program. it is also known as parameters and has two types of actual and formal parameters.
break
It is an inbuilt keyword that is used to exit from the loop and statements.
continue
It is an inbuilt keyword that is used to escape the lines of code or terminate the current iteration.
heap
It is a pool of memory that is used for the allocation of dynamic memory in the program.
exception
The error or code that occurs when the program is executing is called an exception.
int
It’s a data type keyword that is used to allocate the integer values like 1 to 9 and its combinations.
float
It’s a data type keyword that is used to allocate floating-point values like 1.2 or 1.01 etc.
char
It’s a data type keyword that is used to allocate the character variable like a to z.
array
It’s a data structure that is used to store the collection of the same type of values.
pointer
It is used to store the address of a variable or object.
sizeof()
It’s a function that is used to find the size of an object or variable or it returns the length of the variable.
void
It is a keyword that is used to store the absence of value in a variable.
union
It is a user-defined data type that allows us to store different data types in the same memory location.
structure
It is a user-defined data type that groups related variables of different data types.
Keywords in C programming
Keywords are the registered words that are used to perform a specific task. we can’t use any keyword for other work. c programming has 32 reserved keywords.

Basic C program with Explanation

The first line #includes <stdio.h> tells the compiler to include the contents of the inbuild library header file stdio.h in the program.
A header file usually contains the inbuilt functions and macros, and to use these functions we need to include the relative library in the program.
In the next line int main(void) is a function of the type name and the int keyword tells that this function returns the int value and inside the bracket that is (void) tells about the arguments that a function takes. and always remember that the c program always starts executing from the main function in the program. so a c program must always have a main() function in it.
Next { —— } tell that from where the function starts and where the function end. { indicate the start point of function and } indicates the endpoint of function.
Next to the puts(“Hello, World”); call the puts() function to print the message on the output screen. and remember to use any function in the program we need to include the relevant header file in which the function is declared.
Next return 0; means the function returns the 0 value. remember when we start with int main(void) we see that the main function only returns the integer value so the 0 is an integer value and so it returns the 0.
Note: In c programming, every statement needs to end with; a semicolon. so we need to place; after completing every statement as you see in the program.
Other tutorials