C语言概述
C语言概述
一个简单的C程序示例
1 |
|
#include <stdio.h>的作用相当于把stdio.h文件中的所有内容都输入到该行所在的位置
关键字
| auto | extern | short | while |
|---|---|---|---|
| break | float | signed | _Alignas |
| case | for | sizeof | _Alignof |
| char | goto | static | _Bool |
| const | if | struct | _Complex |
| continue | inline | switch | _Generic |
| default | int | typedef | _Imaginary |
| do | long | union | _Noreturn |
| double | register | unsigned | _Static_assert |
| else | restrict | void | _Thread_lcoal |
| enum | return | volatile | _Atomic |