Sage-Code Laboratory

What is C?

C is a legendary system programming language. It is one of most important low level languages in computer industry. It was created at Bell-Labs by Dennis Ritchie after B language in 1973. It is the default language for UNIX and Linux platforms. Here you can learn C fundamentals.

Learning C

In the next tutorial we organize pages in logical order to learn basic concepts of programming using C language. On each page there is a link at the bottom to read next page. On top-right of every page there is an index link to return here. If you read this first time, ignore the index for now and continue reading the sequential content page by page.

C-lang Index


Run C Examples

For runing C we use our favorite website, that can support almost any language. I prefer to use this website to store examples for your training. You do not need to install a C compiler on your computer. You can log-in using your personal GitHub account and you can create new examples. However if you wish, you can install a compiler and IDE on your own computer eventually later.

example repl.it

repl.it democ

C-lang - Prep Quiz

Next quiz has 100 questions for beginners. Each question value one point. It is special designed for a mobil device. You can click, tap or scan the image below to start. This quiz does not have time limit, but it requires you to sign-in using your Google account. Break a leg! I hope you make at least 80 points.
C Quiz

Start the Quiz

Privacy Terms: We do not collect your e-mail address but we record your name with the test results on Google drive. If you take more than 80% we will recognize your skill and will endorse you on Linked-in. If you don't agree, use your Discord ID or an imaginary name but then we can't endorse you.

External References

C language do not have a home page of its own. It seams Bell-Labs has gifted its programming languages to the world and is doing other things. I have search the internet to collect best documentation without ads. Here is what I have found:

C-lang

Alert: This tutorial do not covers C++ syntax. Maybe you are in the wrong place. C and C++ are different languages. If you can't decide now, you can learn C and then C++. Some of the knowledge is transferable.

For C++ go to:


Read next: Syntax Overview