Skip to content

A structured collection of beginner-friendly **C language** programs for foundational learning and practice. This repository includes examples, assignments, and mini tasks to build a strong base in procedural programming using C.

Notifications You must be signed in to change notification settings

Bishal-cs/C-learning-Codes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C Learning Repository


📌 Topics Covered

  • Basic Input/Output
  • Variables and Data Types
  • Operators and Expressions
  • Conditional Statements (if, if-else, switch)
  • Loops (for, while, do-while)
  • Arrays and Strings
  • Functions
  • Pointers
  • Structures and Unions
  • File Handling (basics)

🛠 Getting Started

Prerequisites

Make sure you have a C compiler installed like GCC.

Compile and Run

To compile and run any .c file:

gcc program_name.c -o program_name
./program_name

📂 Directory Structure

C-learning-Codes-/
├── basics/
│   ├── hello_world.c
│   ├── variables.c
│   └── ...
├── control_flow/
│   ├── if_else.c
│   ├── switch_case.c
│   └── ...
├── loops/
│   ├── for_loop.c
│   ├── while_loop.c
│   └── ...
├── arrays_strings/
├── functions/
├── pointers/
├── structures/
├── file_handling/
└── README.md

🎯 Purpose

This repository is designed for:

  • Students beginning with C programming
  • Practicing core programming concepts
  • Preparing for college assignments or interviews

🤝 Contributions

Feel free to fork the repository and add your own code examples or improvements.


📄 License

MIT


About

A structured collection of beginner-friendly **C language** programs for foundational learning and practice. This repository includes examples, assignments, and mini tasks to build a strong base in procedural programming using C.

Resources

Stars

Watchers

Forks