Introduction to structured programming using C
Chapter 1 : Introduction to C Programming Language and Basics
Computer hardware understands only electrical states, represented mathematically as ones and zeros. Human beings understand language, logic, and abstract mathem…
Chapter 2 : Input/Output and Control Structures
A computer program that only executes a fixed sequence of instructions without interacting with the outside world is of limited use. To solve real problems, pro…
Chapter 3: Functions, Arrays and String
As programs grow in complexity, writing all instructions in a single, continuous block inside the main() function becomes unsustainable. The code becomes diffic…
Chapter 4 : Structures, Unions, and Enumerations
Standard data types like integers, floats, and characters represent single, isolated pieces of information. Arrays allow programmers to group multiple pieces of…
Chapter 5: Pointers and Memory Management
In high-level programming languages, the computer's memory is hidden behind a layer of abstraction. The programmer declares a variable, and the language automat…
Chapter 6 : File Handling, Command-Line Arguments, and Graphics
Up to this point, every variable, array, and structure created in a program has resided in Random Access Memory (RAM). RAM is volatile. The moment a program ter…