C Programming Language | 26-03-2022
Hello beautiful people,
Hope you are doing well. I am going to participate in a contest on science, technology, and computing organized by the Steem Bangladesh community. A big thumbs up from my side for providing us with a good platform.
What is C Programming Langauge?
People say that C is the base of programming language. If any people know C then they can easily learn any other programming language. Because many of the programming languages are based on the concept of C. If we discuss the definition, C is a general-purpose programming language. It is the most popular, flexible, and simple for the programmer to use. It is widely used in many popular applications like Windows operating system, Git, Oracle database, and so on. C is a machine-independent programming language.
Background of C Programming Langauge
If we discuss from the beginning, we have to go back to 1960 when the father of the programming language 'AGOL' was introduced. This language first brings the concept of structured programming language and it was widely used among all the European countries developers. Back in 1967, a new programming language was announced called Basic Combined Programming Language(BCPL). To write system software was designed and developed by Martin Richards.
![source-4280758_1920.jpg](https://steemitimages.com/640x0/https://cdn.steemitimages.com/DQmNcpASU8S4MzpjgrQ18QxhWLPqj4qXCGSVHoZqoXAXgBT/source-4280758_1920.jpg)
Source
A few years later in 1970 Ken Thompson introduced B new programming based on BCPL. It was created using UNIX operating system and it was also a system software like BCPL.
In the year of 1972, the greatest Dennis Ritchie created the C programming language. Back then, C was created based on AGOL,BCPL,B. C contains all the existing features of these three languages with some additional features that made C more advanced and unique. Because of its powerful facilities, it was spreading widely among the world and it was becoming difficult to maintain all the versions and cope up all systems. To reduce the problem American National Standards Institute(ANSI) released a commercial version in1989. After that, in 19990 it was approved by ISO. Now, we are using 'ANSI C'.
Basic Structure of a C Program
There are some protocols or rules to writing a C program successfully. It is defined and you are bound to follow these rules to execute the C program successfully. We have defined them in several sections. Let's know about them:-
- Documentation: It is about to document the program. We can give comments to understand easily what we did in the particular program.
- Link Section: We mention the required header file to execute the C program.
- Definition Section: In this section we have to define the variable and values needed to assign to them.
- Global Declaration: When a value or variable is needed throughout the program then we needed to define it as global.
- Function Prototype: In this section you have to define the return type of the function what you expect from it. Also, the parameters that will use inside that particular function.
- Main Function: Every C program must have a main function from where the execution will start.
How C Programming Language Works?
![ball-63527_1920.jpg](https://steemitimages.com/640x0/https://cdn.steemitimages.com/DQmf6a5goZN26nFqpJxfucc6AnUiJz1dxWdgwZWiDYseLQS/ball-63527_1920.jpg)
Source
To execute a C program, the first thing we needed is a compiler. When we write any C language source code then the compiler compiled it and made an object file that is machine-readable. After that, a linker will be used to combine different object files and made a single executable .exe file to execute the program. This is the basic process of how the C program works.
Why learn C Language?
- C is the base of many programming languages like C++, JAVA. These are more powerful and widely used. So, it will play an important role in the programming language realm if you know C.
- C is a simple programming language with faster execution.
- C is a structured programming language that makes it easier for developers to test to program and also write the program.
- C has several keywords and data types. Also, it has several built-in functions that make this language more efficient.
Some Key Applications of C
- This language is widely used in embedded systems.
- C is used to develop system software and desktop applications
- For developing browsers and their extensions C is used. Google Chromium is developed using the C language.
- For IoT applications, C is most popular.
- Several database software like MYSQL is developed by C.
I would like to invite @norbemigbe87, @thairisdc to participate
Hello @nishat-meraj, Your post has been supported by @tucsond using @steemcurator07 account.
Thank You for making a post in the #Science/ #Computing/ #Technology category. We appreciate the work you have put into this post.
We have analyzed your post and come up with the following conclusion :
Regards,
Team #Sevengers
Follow @steemitblog for all the latest update and keep creating quality contents on Steemit!
Thank you for sharing such an interesting content with us. Stay active – write posts, comment, interact with others and enjoy .
JOIN WITH US ON DISCORD SERVER: