C language is a general-purpose, process-oriented computer programming language. In 1972, in order to port and develop the UNIX operating system, Dennis Ritchie designed and developed the C language at the Bell Telephone Lab.
C is a widely used computer language that is as popular as the Java programming language, and is widely used among modern software programmers.
The current C language standard is C11, and the C standard before it is C99.
Who is suitable for reading this tutorial?
This tutorial is designed for software programmers who need to understand the C language from scratch. This tutorial will give you a good understanding of the C language to enhance your own level of expertise.
What you need to know before reading this tutorial:
Before you start this tutorial, you need a basic understanding of computer programming terminology. A basic understanding of any programming language will help you understand C programming concepts and help speed up your learning.
Compile/Execute C Program
- All C programs need to include the main() function. The code begins execution from the main() function.
- /* ... */ is used for comment descriptions.
- printf() is used to format the output to the screen. The printf() function is declared in the "stdio.h" header file.
- stdio.h is a header file (standard input and output header file), and #include is a preprocessor command that is used to import header files. When the compiler encounters the printf() function, a compile error occurs if the stdio.h header file is not found. The
- return 0; statement is used to exit the program.