Introduction of C programming language
C is one of the most popular and widely used programming languages of the current time. The journey of the modern programming language began with C. Some parts of those programming language currently on top of the popularity have been taken from C. Eg C ++, PHP, Java, C # ...
Danis Richie (1969 - 1972) developed the C in the AT & T Laboratory. The main purpose of creating a C programming language was the Unix operating system. You can see more details about C programming here.
From this post I will try to give you ideas about the regular C programming language. Hopefully, after all the posting ends, you get a good idea about C programming and you can write programs manually using C programming language.
Before you start C programming, you have to download a compiler.
- Code :: Blocks
- Orwell Dev C ++
What is the compiler and why?
The compiler is a software that converts the source code of the programming language to the machine-level code.
What happens if the program is not compiled?
When you write a program, the machine must understand what your code will work. If the machine does not understand your code then what is the code?
The machine does not understand anything other than 0 and 1. Now your code is meant to convince the machine to understand the way your machine is converted. You have to use the compiler to do that work for you.
Syntax: Each programming language has a specific syntax. The simple syntax for C programming is:
#include <stdio.h>
int main()
{
//your task goes here
return 0;
}