Skip to content

ShowMeTheStack/cprogslides

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C Programming Slides

Comprehensive C programming course materials covering fundamentals to advanced topics. This repository contains 32 lecture slide decks with detailed code examples and outputs.

About

Created by Prof. Jyotiprakash Mishra

Visit my blog: blog.jyotiprakash.org

Course Contents

Fundamentals (Decks 1-8)

  1. Hello World - Introduction to C, first program, compilation process
  2. Data Types - int, float, double, char, sizes and ranges
  3. Type Conversions - Implicit/explicit conversions, casting
  4. Operators - Arithmetic, relational, logical, bitwise operators
  5. Operator Precedence - Precedence and associativity rules
  6. Conditional Statements - if, if-else, nested conditionals
  7. Loops - for, while, do-while, break, continue
  8. Switch Statements - Multi-way branching

Data Structures (Decks 9-13)

  1. Arrays - One-dimensional arrays, operations
  2. 2D Arrays - Two-dimensional arrays, matrix operations
  3. Strings - Character arrays, string manipulation
  4. Functions - Declaration, definition, parameters, recursion basics
  5. Structures - User-defined types, member access

Pointers and Memory (Decks 14-19)

  1. Pointers Basics - Fundamentals, address-of, dereference
  2. Pointers and Arrays - Array-pointer relationship
  3. Pointers and Strings - String manipulation with pointers
  4. Pointers and Structures - Structure pointers, arrow operator
  5. Dynamic Memory Allocation - malloc, calloc, realloc, free
  6. Stack vs Heap - Memory models, function calls, persistence

Advanced Topics (Decks 20-25)

  1. Recursion - Recursive functions, base cases, examples
  2. Enums and Unions - Enumerations, unions, tagged unions
  3. Multifile Compilation - Header files, extern, static
  4. C Preprocessor - Macros, conditional compilation
  5. File I/O - fopen, fclose, fprintf, fscanf, fread, fwrite
  6. Static and Global Variables - Storage classes, extern keyword, linkage

Systems Programming (Decks 26-32)

  1. Function Pointers - Callbacks, qsort, design patterns
  2. Command Line Arguments - argc/argv, practical programs
  3. Typedef and Const - Type aliases, const correctness
  4. Bitwise Operations - Bit manipulation, masks, flags
  5. Standard Library - string.h, stdlib.h, math.h overview
  6. Memory Alignment & Padding - Struct layout, optimization
  7. Compilation Process - Preprocessing, compilation, assembly, linking

Features

  • Comprehensive Coverage: 32 decks covering complete C curriculum
  • Code Examples: Each concept illustrated with working programs
  • Output Samples: Every program includes expected output
  • Progressive Learning: Structured from basics to advanced topics
  • Production Ready: Professional Beamer slides for classroom use

Usage

Viewing Online

Visit cprog.jyotiprakash.org to view or download individual slides.

Local Access

Clone this repository:

git clone https://github.com/ShowMeTheStack/cprogslides.git
cd cprogslides

Open index.html in your browser to browse all slides.

Technical Details

  • Format: PDF (LaTeX Beamer)
  • Aspect Ratio: 16:9 widescreen
  • Code Style: Syntax-highlighted C code with tiny monospace font
  • Layout: Two-column design (code left, output right)

Target Audience

Students who:

  • Have basic familiarity with gcc and a text editor
  • Want to learn C programming systematically
  • Need comprehensive reference materials
  • Prefer learning through code examples

License

© 2026 Prof. Jyotiprakash Mishra. All rights reserved.

Contact

For questions or feedback, visit blog.jyotiprakash.org

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages