The understanding of C language

Source: Internet
Author: User
Tags variable scope

Interesting C-language code

Take a look at what this code output is.

1#include <stdio.h>2 intMain ()3 {4     inti = +;5printf"%d\n", printf ("%d", printf ("%d", i)));6 GetChar ();7     return 0;8}

features of C language
C language is a structured programming, with variable scope (variable scope) and recursive
can be a process-style language.
The C-language pass-through parameter is passed as value (pass by value), and the pointer can also be passed (a pointer
passed by value).
different types of variables can be grouped together by struct (struct).
there are only 32 reserved words (reserved keywords), which makes the variable, function name more elastic.
variable types can be converted, such as Integer and char variables.
with pointers (pointer), the C language can be easily controlled by low-level memory.
compile preprocessing (preprocessor) makes the compilation of C language more resilient.

know C language
    C is a general programming language, which is widely used in the development of system software and application software. From 1 969 years to
1 973 years, in order to transplant and develop the UNIX operating system, from Dennis Ritchie and Ken Thompson, in the B-language, based on the design, development of Bell Labs. The
   c language is highly effective, flexible, feature-rich, expressive and highly portable, and is popular among program
members, making it the most widely used programming language in the last 25 years. Currently, the C language compiler is
ubiquitous in various operating systems, such as Microsoft Windows, Mac OS x,linux, Unix
, and so on. The design of C language affects many later programming languages, such as C + +, objective-c, Java,
C #, and so on.
    The 1980s, in order to avoid differences in C language syntax used by various development vendors, the United States national
Standards Authority has set a complete set of international standard grammars for C language, called ANSI C, as the C language's standard
. Since the 1980s, the relevant program development tools generally support the ANSI C-compliant language
method.

It is a computer language that lasts for more than 40 years and is relatively close to the bottom, which
Not only can you learn the language itself, but also learn some more in-depth knowledge.

The understanding of C language

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.