Practical C Programming - Chapter 4
来源:互联网 发布:java的运行环境 编辑:程序博客网 时间:2024/05/01 22:43
Chapter 4. Basic Declarations and Expressions
Basic Program Structure
The function named main
is special, because it is the first function called. Other functions are called directly or indirectly from main
.
int main(){ return (0);}
The line return (0);
is used to tell the operating system that the program exited normally(Status=0). A nonzero status indicates an error — the bigger the return value, the more severe the error.
The statement #include <stdio.h>
signals C that we are going to use the standard I/O package. Technically, this statement causes a set of data declarations to be taken from an include file.
Variable name starts with a letter or underscore(_), followed by any number of letters, digits, or underscores. Uppercase is different from lowercase.
5 // int5.0 // floating-point5. // floating-point0.5 // floating-point.5 // floating-point0.0 // floating-point zero1.2e3 // exponent specification 1.2*10^34
The backslash character () is called the escape character. It is used to signal that a special character follows.
- <Practical C Programming> chapter 4
- Practical C Programming - Chapter 4
- Practical C Programming - Chapter 2
- Practical C Programming - Chapter 3
- Practical C Programming - Chapter 5
- Practical C Programming - Chapter 9
- Practical C Programming - Chapter 10
- note <practical c programming> chapter 5
- Practical Programming in C
- 6.087 Practical Programming in C, lec6
- 6.087 Practical Programming in C, lec7
- 6.087 Practical Programming in C, lec8
- 6.087 Practical Programming in C, lec9
- 6.087 Practical Programming in C, lec10
- 6.087 Practical Programming in C, lec11
- 6.087 Practical Programming in C, lec12
- 6.087 Practical Programming in C, lec13
- 6.087 Practical Programming in C, lec14
- Android加载中动画,仿58同城,美团效果
- undefined reference to main
- ListView之BaseAdapter的基本使用以及ViewHolder模式
- UVa 12186 Another Crisis(树形DP)
- BestCoder#29
- Practical C Programming - Chapter 4
- int float double 忽略的细节
- myeclipse 添加反编译插件(亲测有效)
- 禾禾禾禾禾禾禾禾禾禾禾禾和
- C++ 静态联编与静态联编
- ACM计算几何题目推荐
- 啊哈C——学习7.4存储英文人名
- 【百度】写一个字符串逆序的程序,时间复杂度和空间复杂度最低,效率越高越好
- leetcode题目的难度和面试频率