Chapter 2
par Doha Alamoudi
1. General information
1.1. developed by Dennis Ritchie (DR)
1.2. Standard
1.2.1. ANSI
1.2.2. ISO
1.3. Generated for re-implement Unix OS
2. Main part of C program
2.1. Library (studio.h)
2.2. Main function
2.3. Block
3. Structure FC
3.1. Saurce cod
3.2. Object file
3.3. Executable file—>(0,1)
4. naming variables
4.1. No space or comma
4.2. No symbols except underscore
4.3. Can’t
4.4. Case sensitive
5. Different’s b/t int & F bat
5.1. Int is whole number
5.2. Float take more time in execution
5.3. Int is more specific (give expect number)
6. Variable types
6.1. Int
6.1.1. Size 2bytes
6.1.2. %d
6.2. Float
6.2.1. Size 4byter
6.2.2. %F
6.3. Char
6.3.1. Size 1bytes
6.3.2. C%
6.4. Double
6.4.1. Size 8bytes
7. Comments
7.1. How
7.1.1. =
7.1.2. /*......*/
7.2. How
7.2.1. Improve readability