introduction

Introduction to C Programming

Introduction to C Programming

C is a general-purpose, procedural programming language developed in the 1970s. It is one of the oldest and most widely used programming languages.

Basic Structure of a C Program

#include 

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

The above code prints "Hello, World!" to the console. The #include is a header file that allows using input/output functions, and int main() is the main function where execution begins.