C Programming Tutorial

  • Welcome to coding fox

C Programming Tutorial

Chapter – 0 Introduction & Getting started
0.1 Why Programming Language?
0.2 Why do we need Translator?
0.3 About C programming language
0.4 Language fundamentals part-1
0.5 Language fundamentals part-2
0.6 Language fundamentals part-3
0.7 Start writing C programs
0.8 Comments in C language
Chapter – 1 Setting up the environment
1.1 Tools to execute a C program
1.2 How to install Turbo C in Windows XP/Vista
1.3 How to install Turbo C in Windows 7/8
1.4 How to execute a C program in Linux
1.5 How to install MinGW gcc in Windows
1.6 How to execute a C program in Command Prompt using Turbo C
1.7 How to configure Turbo C in EditPlus
1.8 How to configure MinGW gcc in EditPlus
1.9 How to configure MinGW gcc in Notepad++
1.10 How to execute a C program in eclipse
1.11 Turbo C curser movements and editing commands
Chapter – 2 Basic C programming
2.1 Accepting the data from keyboard
2.2 Arithmetic instructions and type conversion
2.3 Procedural programs to practice part – 1
2.4 Procedural programs to practice part – 2
2.4.1 Procedural programs to practice part – 3
2.5 Numbering systems
2.6 Constants part – 1
2.7 Constants part – 2
2.8 Identifiers and Hungarian notation
Chapter – 3 Data types in C language
3.1 Computer memory and data representation
3.2 Data types
3.3 Integer types part – 1
3.4 Integer types part – 2
3.5 Integer types part – 3
3.6 Floating point types
3.7 Data types putting all together – Quiz
3.7.1 Formulating overflow and underflow
3.8 Conversions with printf()- Quiz
3.9 Additional data types in C99 and C11
3.10 Widening and Narrowing of primary conversions
Chapter – 4 Formatting input and output
4.1 Formatting input through scanf()
4.2 Formatting output using printf()
4.3 Escape sequences or back slash characters
4.5 Trigraph characters
4.6 Digraph characters
Chapter – 5 Control flow statements
5.1 Need and classification of control flow statements
5.2 if selection statement
5.3 Programs to practice – if selection statement
5.4 if-else selection statement
5.5 Programs to practice if- else selection statement part-1
5.6 Programs to practice if-else selection statement part -2
5.7 Nested if-else statement
5.8 Logical expressions
5.9 Programs to practice – logical expressions
5.10 else-if ladder
5.11 Conditional operators
5.12 Programs to practice – control flow statements
5.13 Summarizing decision flow statements – Quiz
5.14 Switch case selection statement – Quiz
5.15 goto jumping statement
Chapter – 6 Operators
6.1 Operators precedence and associativity
6.2 Assigning and arithmetic assigning operators – Quiz
6.3 Relational Operators
6.4 Logical operators
6.5 Short circuit evaluation – Quiz
6.6 Increment-Decrement operators – Quiz
6.7 Increment-Decrement operators Part – 2 – Quiz
6.8 sizeof() Operator 
6.9 Comma Operator
6.10 Bitwise operators – negation operator
6.11 Bitwise operators – Shift operators
6.12 Bitwise operators – AND, OR, XOR bitwise operators
Chapter – 7 Loops/Iteration statements
7.1 While iteration statement – Quiz
7.2 do-while iteration statement – Quiz
7.3 for iteration statement
7.4 for loop – points remember
7.5 Quiz on for iteration statement
7.6 Jumping statements (break, continue) – Quiz
7.7 Loops programs to practice part – 1
7.8 Loops programs to practice part – 2
7.9 Loops programs to practice part – 3
7.10 flag, exit and return statements
7.11 Nested Loop
7.12 Nested loops programs to practice Part – 1
7.13 Nested Loops programs to practice Part – 2
7.14 Nested Loops programs to practice Part – 3
Chapter – 8 Arrays
8.1 Arrays – Introduction
8.2 Arrays Points to remember
8.3 Arrays with loops
8.4 Operations on Array – Part-1
8.5 Operations on Array – Part-2
8.6 Operations on Array – Part-3
8.7 Sorting array elements – Selection sort
8.8 Bubble sort
8.9 Insertion sort
8.10 Two dimensional arrays (Matrix)
8.11 Matrix – programs to practice – Part-1
8.12 Matrix – programs to practice – Part-2
8.13 Matrix – Programs to practice – Part-3
8.14 Matrix – Programs to practice – Part-4
8.15 Multidimensional Arrays (Data cube)
Chapter – 9 Functions
9.1 Functions getting started
9.2 Important points to remember
9.3 Sending arguments to the function
9.4 Returning a value from the function
9.5 Writing prototype and anatomy of function
9.6 Functions – putting all together
9.7 Functions – programs to practice – 1
9.8 Handling returning values – Programs to practice – 2
9.9 Functions – programs to practice – 3
9.10 Sending an array as an argument
9.11 Returning more than one value
Chapter – 10 Scope, Life, Storage and Memory
10.1 Scope and life of variables
10.2 Internal or Local variables
10.3 Scope of external or global variables
10.4 Life and storage of global variables
10.5 Storage class specifiers – auto, extern
10.6 Storage class specifiers – static,register
10.7 Memory segments – Text, Data, BSS
10.8 Memory segments – Stack segment (call Stack)
Chapter – 11 Recursion
11.1 Recursion – Introduction
11.2 Recursion – Memory, Stack overflow
11.3 Recursion – Programs to practice – Part-1
11.4 Towers of Hanoi – Recursion
11.5 Sequential search, Binary search in recursive way
11.6 Quick sort using recursion
11.7 Eight queen problem using recursion
11.8 Types of recursion
Chapter – 12 Preprocessing
12.1 Build process or Compiler chain
12.2 Generating expanded source (Intermediate code)
12.3 Generating Assembly source
12.4 Preprocessor directives – Macro substitution
12.5 Working with macros – Part 2
12.6 Macros with arguments
12.7 File inclusions and setting up environment in Turbo C
12.8 Creating and including header files in Turbo C
12.9 Creating library files in Turbo C
12.10 External linkage with Turbo C
12.11 How to create a project in Turbo C
12.12 External linkage in Linux
12.13 Need of extern qualifier in C
12.14 Internal linkage in C
12.15 Creating a library file in Linux
12.16 Creating and including header files in Linux
12.17 Conditional compilation in C
12.18 Usage of conditional compilation
12.19 Pragma directive in C language
12.20 Preprocessor operators and Misc. directives
12.21 Creating executable file in Turbo C
12.22 Creating executable file using gcc
Chapter – 13 Practicing functions ( Bit-wise operators & C Graphics)
13.1 Functions on  bit-wise operators – Part – 1
13.2 Functions on bit-wise operators – Part – 2
13.3 Introduction to Graphics – Turbo C
13.4 Drawing basic shapes – Turbo C
13.5 Defining active window – Turbo C
13.6 Extended keyboard characters – Turbo C
13.7 Designing menu system – Turbo C
Chapter – 14
Pointers
14.1 Introduction to pointers
14.2 What is pointer?
14.3 Pointers in action
14.4 Practicing Dereferencing
14.5 Type of pointer and void pointer
14.6 Functions pass by address
14.7 const qualifier in C language
14.8 Pass by reference – Programs to practice
14.9 Pointer to pointer – Second indirection
14.10 Pointer arithmetic – Scale factor
14.11 Return by address
14.12 Pointers and arrays
14.13 Sending address of array as argument
14.14 Return by address of an array
14.15 Pointers and Matrix – Part 1
14.16 Pointers and Matrix – Part 2
14.17 Dynamic memory allocation – Part 1
14.18 Dynamic memory allocation – Part 2
14.19 Memory leakage and NULL pointer
14.20 Pointer to a function
14.21 Wild pointer and dangling pointer
Chapter – 15
String Handling
15.1 Introduction to Strings
15.2 Reading and Writing a String
15.3 More about String
15.4 Operations on Strings – Part 1
15.5 Operations on Strings – Part 2
15.6 Programs on Strings – Part 1
15.7 Programs on Strings – Part 2
15.8 Programs on Strings – Part 3
15.9 Command Line Arguments in C language
15.10 Quiz on Strings and Command Line Arguments
Chapter – 16
User Defined Types in C Language
16.1 Struct type in C Language
16.2 More about struct
16.3 Initializing a struct variable
16.4 Array of struct type
16.5 Pointer to struct variable
16.6 Struct – Dynamic memory allocation
16.7 Functions and struct
16.8 Quiz on struct
16.9 Struct padding in C
16.10 Bit-fields in C language and Quiz
16.11 Typedef in C language and Quiz
16.12 Unions in C language
16.13 Quiz on Unions
16.14 enum type in C language
Chapter – 17
Input and Output In C Language
17.1 Formatted Console I/O – Part-1
17.2 Formatted Console I/O – Part-2
17.3 Unformatted Console I/O
17.4 Quiz on Console I/O
17.5 Need of Data Files – fopen()
17.6 Writing unformatted file on to a file
17.7 Reading unformatted file from a file
17.8 How to perform write/read operations on a file
17.9 Appending and Copying files
17.10 Formatted text files writing and reading
17.11 Binary files – Writing/Reading struct objects
17.12 Random access or Direct Access files
17.13 Writing and reading line of text from a file