All lessons

Your First Program

6 min · C

Write and run your very first C program — right here on the page.

C · Your First Program0/5 cleared

Enemy 1 of 5

A C program starts in main. The first line includes the standard input/output tools; focus on the printf line.

printf prints text. The \n at the end means "new line". Press Run.

You
Pincer Crab

Loading editor...

Ln 1, Col 1Spaces: 4
Sign up to fightTarget output: Hello, World!