Skip to content

HEYKASHIF/C-foundation-programs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

275 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

C Foundation Programs πŸ’»

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.


🎯 Goals of this Repo

  • 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

πŸ“ Structure & Naming Style

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


πŸ“© Contact

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


Happy coding in C! πŸŽ‰

About

Master C programming fundamentals through a beginner-friendly collection of simple, logical, and well-structured programs. This repository covers core topics like loops, arrays, functions, number logic, and pattern problems, making it easier for students to practice, revise, and build a strong foundation in C with confidence. πŸ’»πŸš€

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors