Main lines
I - Functions in C
- 1. Chapter objectives
- 2. Required tribal gains
- 3. Promotion of tribal gains
- 4. What does it mean a function?
- 5. Steps to create a function
- 5.1. Function declaration:
- 5.2. Function definition:
- 5.3. Function call:
- 6. Different cases of a function declaration
- 6.1. Function without argument (parameter) and without a return value
- 6.2. Function with arguments and without a return value
- 6.3. Function without argument and with a return value
- 6.4. Function with argument and with a return value
- 7. Recursive function
- 8. Series of Exercises
II - C Arrays
- 1. Objectives of the chapter
- 2. Required tribal gains
- 3. Test of tribal gains
- 4. Definition
- 5. Array declaration
- 6. Array initialization
- 6.1. Initialization during declaration step
- 6.2. Initialization using loops
- 8. Input/output an element of array
- 9. Pointers in C
- 9.1. C Memory address
- 9.2. Pointers in C
- 9.3. Pointers and functions:
- 9.4. Pointers and arrays
- 10. Two dimensional array
- 10.1. Definition
- 10.2. Declaration
- 10.3. Initializing 2D array
- 10.4. Printing 2D arrays:
- 10.5. Storage of 2D array
- 10.6. Length of 2D array
- 10.7. Some operations on 2D arrays
III - Series of exercises
IV - Practical test
1. Test
V - Files in C
- 1. Introduction to File Handling in C
- 2. Reading from Files
- 3. Writing to Files
- 4. Practical Projects
Exercise solutions
References
Bibliography
Resource credits
Modifié le: lundi 5 août 2024, 16:11