Skip to content

Introduction to C Programming

C Programming Features
  1. Developed by Dennis Ritchie at Bell Labs in the early 1970s.
  2. Known for its efficiency, simplicity, and low-level system access.
  3. Follows a procedural programming paradigm.
  4. Focuses on functions and structured programming.
  5. Highly portable language, allowing programs written in C to run on different platforms with minimal modifications.
  6. C uses a syntax that includes variables, data types, operators, and control structures (loops and conditionals).
  7. To run C/C++ in your system you need two things:
    • MinGW compiler: Search for “mingw compiler downloader” in Google, install it, and set the environment variable by giving the compiler path.
    • Code Editor/IDE: Download VS Code. (Avoid DevC++/Turbo C as they are discontinued.)
    • Create a file in your editor with a .c extension.
    • Install Code Runner Plugin in VS Code to easily run code in the IDE, or use the terminal for manual compilation.
#include <stdio.h>
int main() {
printf("Hello, World!\n");
return 0;
}