C Language Basics "C language Tutorial"

Source: Internet
Author: User

July 7, 2017 23:15:51
Outside the rain, suddenly want to learn C language, so brush the foundation.

Notes:
C Language Tutorials
1.C language is a universal, process-oriented computer programming language. In 1972, in order to transplant and develop the UNIX operating system, Dennis Ritchie designed and developed the C language in Bell Telephone lab.
C is a widely used computer language that is as popular as the Java programming language, and is widely used by modern software programmers.
2. #include <stdio.h>

int main ()
{
/* My first C program */
printf ("Hello, world! \ n ");

return 0;
}
Instance parsing:
All C language programs need to include the main () function. The code executes from the main () function.
/* ... * * for comment description.
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 Output header file) and #include is a preprocessing command used to introduce header files. When the compiler encounters the printf () function, a compilation error occurs if the Stdio.h header file is not found.
return 0; Statement is used to indicate exiting a program.

C Language Basics "C language Tutorial"

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.