This repository is a collection of beginner-friendly C programs that cover all the important foundation topics:
- Operators & expressions
- Conditions (if/else, switch)
- Loops (while, for, do-while)
- Functions (TSRS, TSRN, etc.)
- Arrays & matrices
- Strings
- Patterns
- Number theory (prime, HCF, LCM, Fibonacci, etc.)
It is perfect for B.Tech / BCA / Diploma students or anyone who wants to build strong C programming basics.
- Practise core C concepts with small, focused programs
- Understand logic building step by step
- Use this as a quick revision sheet before exams or interviews
- See examples of clean, simple C code
All programs are simple .c files kept in the root of the repo.
Most filenames follow this pattern:
a-prog-to-<what-the-program-does>-ass<assignment_no>.c
a-function-to-<what-the-function-does>-tsrs-ass<assignment_no>.c
If you have doubts, suggestions, or want to discuss any program:
-
Open an Issue on this repository
-
Or connect with the repo owner on GitHub: @HEYKASHIF