A structured repository for Pokhara University's C Programming course (CMP 124). Contains theory, code examples, practical labs, and project work to help students master C programming from basics to advanced concepts. This work is an independent effort by Kushal Prasad Joshi, inspired by the curriculum of Pokhara University, and is intended to support students in their academic journey. While based on the university's course structure, this work is not officially affiliated with or endorsed by Pokhara University.
- Structured Theory: Detailed notes for all 8 units as per the syllabus.
- Embedded Code Examples: Syntax and programs explained within theory sections.
- Hands-On Practicals: Lab exercises and solutions for topics like algorithms, arrays, pointers, and file handling.
- Visual Aids: Flowcharts and diagrams to simplify complex concepts.
To use these notes and code, you’ll need:
- A C compiler (e.g., GCC).
- A code editor like VS Code or Dev-C++).
- Git (optional):
git clone https://github.com/kushalprasadjoshi-bachelor/cmp124-programming-in-c.git
- Navigate to the
theorydirectory for unit-wise notes. - Study code examples directly in each unit’s folder (e.g.,
01-programming-languages-and-problem-solving). - Practice with lab exercises in the
practicalsdirectory.
programming-in-c/
├── theory/ # Unit-wise theory + code
│ ├── 01-programming-languages-and-problem-solving/
│ ├── 02-introduction-to-c/
│ └── ... # Units 3–8
│
├── practicals/ # Lab exercises + solutions
│ ├── 01-introduction/
│ ├── 02-operators/
│ └── ... # Labs 3–8
│
├── tutorials/ # Discussion topics & given assignments
├── assets/ # Diagrams, flowcharts
└── resources/ # Books, cheatsheets
This repository is licensed under the MIT License. You are free to use, modify, and distribute the code, provided that the original copyright notice and license text are included in all copies or substantial portions of the Software.
- Prescribed textbooks:
- Programming in ANSI C by E. Balagurusamy
- The C Programming Language by Kernighan & Ritchie
Happy Coding! 🎉