๐Ÿ”น The C Universe ๐Ÿ”น

Learn C โ€” the foundation of modern programming and systems! โšก

๐Ÿ’ก What Is C?

C is a powerful, general-purpose programming language that is widely used for system programming, embedded devices, and performance-critical applications.

โ€œC teaches you how computers really work.โ€

๐Ÿงฉ Basics

Variables, data types, and printing output:


#include <stdio.h>

int main() {
    int age = 15;
    char name[] = "Dyl";
    
    printf("Name: %s\n", name);
    printf("Age: %d\n", age);
    return 0;
}
  

โš™๏ธ Functions

Reusable blocks of code:


#include <stdio.h>

int add(int a, int b) {
    return a + b;
}

int main() {
    printf("Sum: %d\n", add(2,3));
    return 0;
}
  

๐Ÿ” Loops

Repeating tasks with loops:


#include <stdio.h>

int main() {
    for(int i=0; i<5; i++) {
        printf("Loop %d\n", i);
    }
    return 0;
}
  

๐Ÿ•น๏ธ Try C Yourself

Type your C code below. This is a **simulated runner**โ€”only prints lines with printf.

Output will appear here...

*Simulated output (real C code requires a compiler)