Introduction to C Programming

C is a general-purpose, procedural programming language developed by Dennis Ritchie at Bell Labs in 1972.

C is often called the mother of all programming languages as many modern languages are based on it.

Key features: Low-level memory access, simple keywords, clean syntax.

C is a compiled language - source code is converted to machine code.

Applications: Operating Systems (UNIX, Windows), Databases, Embedded Systems, Compilers.

First C Program:

#include <stdio.h>

int main() {
  printf("Hello, World!\n");
  return 0;
}

Compilation process: Preprocessing → Compilation → Assembly → Linking.