Home / Free Resources / Resource List / Fun with C Programming

Let's Learn About C!

C is a super cool programming language that people have been using for over 50 years! It helps make computers do amazing things.

What is C?

C is a special language that programmers use to talk to computers. It's been around for over 50 years, which is really old for computer stuff!

What can C do?

  • Help make computer games
  • Create programs for phones and tablets
  • Run big websites and apps
  • Control robots and machines
Coding on a computer screen

Many of the programs you use every day are made with C or languages that came from C. It's like the building blocks for lots of computer stuff!

Fun C Examples

Let's see some simple C programs in action! Click the buttons to run them.

Hello, World!

This program says hello to you!

#include <stdio.h>

int main() {
    printf("Hello, Friend!");
    return 0;
}

Counting Numbers

This program counts from 1 to 5!

#include <stdio.h>

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

Drawing a Square

This program draws a square with stars!

#include <stdio.h>

int main() {
    printf("*****\n");
    printf("*   *\n");
    printf("*   *\n");
    printf("*****");
    return 0;
}

Simple Math

This program adds two numbers!

#include <stdio.h>

int main() {
    int a = 3;
    int b = 5;
    int sum = a + b;
    printf("3 + 5 = %d", sum);
    return 0;
}

C Language Quiz

Test what you've learned about C with this fun quiz!

1. How old is the C programming language?

2. What can you make with C?

3. What is the first line of many C programs?

More Fun Resources

Want to learn more about C? Check out these resources!

C language tutorials for kids

Fun C Tutorials

Simple lessons that teach you C through games and activities.

Explore Tutorials
C programming games

C Coding Games

Learn C while playing fun games and solving puzzles.

Play Games
C programming videos

C Video Lessons

Watch fun videos that explain C programming concepts.

Watch Videos

Ready to Start Coding in C?

Join our fun coding club and learn how to create amazing things with C!