C Language The first program "hello,world!"

Source: Internet
Author: User

As for the various grammatical problems are not much to say, the comma plus commas, the parentheses brackets. There's nothing wrong with that.

Now the first of the various languages are mostly output "hello,world!", the reason is probably hello,world is the world's probably the first program, written in B language, not only represents this string of characters, but also represents our computer work on the Code world (its own world) a yearning. The brain complements a picture, you say "Hello World" with infinite vision and illusion to the new world, it is the quality that the person that really likes this profession or other. Don't say much nonsense.

The entrance to the C language program has only one main () function. The rest of the functions can only be called in the main () function (which is not accurate). and then run.

The C language format is as follows

#include <stdio.h> \ Header files (including various libraries) <> "" are all inclusive. The specific use of the difference is probably "" is to find from the current file. <> is looked up from the system default path.

int main () {

.... Specific statement ....

}

Simple hello,world! Program

#include <stdio.h>

int main (void) {

printf ("hello,world!");

}

C Language The first program "hello,world!"

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.