Skip to content

Introduction to C Programming

C is a general-purpose programming language.

C is known for its efficiency and control. C uses a structured approach, supports low-level memory manipulation, and offers a rich set of built-in operators and functions.

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).
C Programming Features

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.
  • C is in high demand , especially for:
    • System Programmer
    • Embedded Systems Engineer
    • Software Developer
  • Experienced developers (3–5 years) can earn around $80,000 – $110,000/year in the U.S. (varies by location).
  • Top companies using C:
    • Microsoft
    • Google
    • Intel
    • Red Hat
    • IBM
  • C is a general-purpose programming language.
  • Widely used in various domains, including:
    • Operating Systems:
      • Used in developing OS kernels like Windows, Linux, macOS, and Android.
    • Real-Time Systems:
      • Found in robotics, industrial automation, and avionics where time-sensitive tasks are required.
    • Compilers and Interpreters
    • Cybersecurity , Reverse Engineering and more
#include <stdio.h>
int main() {
printf("Hello, World!\n");
return 0;
}