Tutorials

This is our collection of C tutorials

Contents


An introduction to pointers
Operator precedence in C and C++
Variables tutorial part 1
Data types in C
Output in C
Receiving input
Boolean expressions
The If else statement
Switch .. case statement
The while loop
For loops in C
Procedures and Functions
Open and close files
Fflush, setbuf and setvbuf
Functions that Modify the File Position Indicator
File Error Handling Functions
Reading from Files
Formatted input functions: the scanf family of functions
Formatted output functions: the printf family of functions
Writing to Files