Introduction

Go Back: Basic C Programming

Syllabus

  • Introduction
    • Features of C
    • History of C
    • First C Program
    • C Compiler
    • Compiler vs Interpreter
    • Demo First C Program
    • Summary
  • Variables
    • Variables
    • printf and scanf
    • Integer Types
    • Demo Integer Types
    • Character Types
    • Demo Character Types
    • Real Types
    • Demo Real Types
    • Constants
    • Named Constants
    • Preprocessor Constants
    • Demo Constants
    • Summary
  • Operators
    • Introduction
    • Arithmetic Operators
    • Prefix and Postfix
    • Demo prefix and postfix
    • Relational Operators
    • Logical Operators
    • Bitwise Operators
    • Demo Bitwise Operators
    • Assignment Operators
    • Demo Assignment Operators
    • Misc Operators
    • Demo Misc Operators
    • Summary
  • Control Flow
    • Introduction
    • Switch
    • Demo Simple Calculator
    • if - else
    • Demo Grading of student
    • Demo nested if
    • while
    • Demo Reverse a number
    • do - while
    • Demo Salary of employees
    • for
    • Demo Factorial of a number
    • Summary
  • Pointers
    • Introduction
    • Declaration and Dereferencing
    • Demo Pointers
    • Pointers to Pointers
    • Demo Pointers to Pointers
    • Summary
  • Functions
    • Introduction
    • Functions and Execution
    • Declaration and Definition
    • Types of Functions
    • Call By Value
    • Demo Calculating Simple Interest
    • Call By Reference
    • Demo Swapping of two numbers
    • Summary
  • Storage Classes
    • Introduction
    • Automatic Variables
    • Demo Automatic Variables
    • External Variables
    • Demo External Variables
    • extern Keyword
    • Demo extern
    • Static Variables
    • Demo Static Variables
    • Register Variables
    • Demo Register Variables
    • Summary
  • Arrays
    • Introduction
    • Declaration and Accessing
    • Demo Salary Calculation of Employees
    • Multidimensional Arrays
    • Arrays to Functions
    • Demo Martix addition and substraction
    • Pointers and Arrays
    • Demo pointers and arrays
    • Strings
    • Demo Pallindrome of string
    • Summary
  • Structures and Unions
    • Structures
    • Defining and Accessing a Structure
    • Demo Employee Details
    • Structure as Function Argument
    • Demo Employee Details
    • Pointers and Structures
    • Demo Employee Details2
    • Unions
    • Demo Database Parse
    • Bit Fields
    • Demo On Off State
    • Summary
  • File Handling
    • Introduction
    • Create, Open and Close
    • Write to File
    • Read from Files
    • Demo Saving new Employee Data
    • Demo Read Saved Employee Data
    • Demo Appending new Employee Data
    • Demo Binary Format of Employee Data
    • Summary
  • Misc
    • typedef
    • Demo typedef
    • Dynamic Memory Allocation
    • Demo malloc
    • Demo calloc
    • Demo realloc
    • Command Line Arguments
    • Demo Leap year
    • Summary
  • Closure
    • Summary