Introduction of C Programming [What is Programming, Programming Language, C, History of C]
Before Starting to Learn About C Programming Language, let’s understand some basic concepts.
What is Programming?
Programming is the process of creating a set of instructions that tell a computer how to perform tasks. These instructions are written using various programming languages like JavaScript, Python, C, and C++.
What is a Programming Language?
A Programming Language is a set of instructions that a programmer writes to tell the computer how to perform specific tasks. These languages are used to write programs and software.
What is Coding?
Coding, also known as programming, is the process of writing instructions that computers can understand and execute. These instructions follow specific syntax and rules that enable communication with the computer.
What is C?
C is a general-purpose programming language, widely popular for its simplicity and flexibility. It was created by Dennis Ritchie at Bell Laboratories in 1972.
Applications of C Language:
- Developing Games, Compilers, Editors, Network Drivers, Browsers, Animation, Medical Applications.
- Operating Systems like Windows.
- Complex Programs like Oracle Database, Git, and the Python interpreter.
Why Learn C?
- C is extremely fast compared to languages like Java and Python.
- It is versatile and can be used in both applications and system-level programming.
Key Points about C:
- Procedural language for step-by-step problem-solving.
- Low-level programming enables direct hardware and memory manipulation.
- Portable across platforms with minimal changes.
- Static typing requires declaring variable types before compilation.
- No garbage collection, requiring manual memory control.
- Widely used in system programming, embedded systems, and game development.
First C Program:
#include<stdio.h> int main() { // My first program printf("Welcome to C Programming"); return 0; }