C programming | Fundamentals & Basic information
PROGRAMMING CODESTER
- In the previous tutorial we studied the basics of programming language and also learnt about flow chart and algorithm and about interpreter and compiler.
- So, we start with c programming in this tutorial.
- In the technical world many languages are available for talking to computers like c, c ++, java, java script, python, c#, and many more.
- But for beginners and those who are new to this stream c programming is very easy to learn and it's very useful to learn other languages also so we can also say that c language is the base of programming language.
- C programming was created in the 1972s by Dennis Ritchie and remains very widely used and influential.
In this tutorial we will study about:
- Fundamentals of c programming
- Application of c programming
- Structure of c programming
- First basic program “hello world”.
Let's begin!
Features of c language: -
- Modularity
- Extensibility
- Elegant syntax
- Case sensitive
- Less memory required
- The standard library concepts
- The portability of the compiler
- A powerful and varied range of operators
- Ready access to the hardware when needed
Application of c language: -
- Operating System. The C programming language was created with the intention of writing UNIX operating systems. ...
- 3D Movies. ...
- Intermediate Language. ...
- Play Important Role in Development of New Programming Language. ...
- Embedded Systems.
Structure of c: -
So, the structure of c is very easy to learn. First will be documentation part, second will be link section, third will be definition section, forth will be global variable declaration and then started main program with void main or int main function.
So, let's write the first program of c which is Hello World.
Write a program to print hello world in c.
Output: -
Practice question of this tutorial:
- Who is the father of c programming?
- Application of c.
- Write a program to print your name based on example of hello world. (We will learn in detail in our next blog)
- Why is c programming the base of any programming language?
So, in the next tutorial we will study printf and scanf function and their syntax, and primary and secondary data types of c language and basic programs.
Stay tuned!
Learn and explore.
Comments
Post a Comment