C Programming Language Part 1
What is C?
C is a general purpose programming language created by Dennis Ritchie at the Bell Laboratories in 1972.
It is a very popular language, despite being old.
C is strongly associated with UNIX as it was developed to write the UNIX Operating System.
Why Learn C?
It is one of the most popular programming language in the world.
If you know c, you will have no problem learning other popular programming language such as Java, Python, C++, C#, etc, as the syntax is similar.
C is very fast, compared to other programming language like Java and Python.
C programming language provides the following types of loops to handle looping requirements.
While Loop
Repeats a statement or group of statements WHILE a given condition is true.
It tests the condition before executing the loop body.
For Loop
Executes a sequence of statements multiple times and abbreviates the code the manages the loop variable.
Do.. While Loop
It is more like a WHILE statement, except that it tests the condition at the end of the loop body.
Nested Loops
You can use one or more loops inside any other WHILE, FOR, or DO.. WHILE Loop.

Comments
Post a Comment