Skip to content

This Repository include some C program which I have made in Dev C++. You can also learn C programming using this repository as it contains programs from beginner to advance level.

Notifications You must be signed in to change notification settings

samarthchawla2005/C-Programming-Practice-Codes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C Programming Practice Codes (Dev C++)

Welcome to the C Programming Practice Codes repository!
This collection contains simple and well-structured C programs designed for beginners to learn C programming from the very basics, using Dev C++ as the development environment.


📚 About This Repository

This repository is created to help students and beginners who want to learn C programming step-by-step with practical coding exercises.
Here, you'll find programs covering fundamental concepts such as:

  • Basic syntax and structure of C programs
  • Variables, data types, and input/output
  • Arithmetic operations
  • Conditional statements (if, else, switch)
  • Loops (for, while, do-while)
  • Arrays and strings
  • Functions and recursion
  • Simple algorithms and problem solving
  • Linear Search

Each program is simple to understand and well-commented to explain what the code does.


🛠️ How to Use This Repository

  1. Clone the repository:

    git clone https://github.com/samarthchawla2005/C-Programming-Practice-Codes.git
  2. Open the folder in Dev C++ (or any C IDE you prefer).

  3. Explore the .c source files to study and run each program.

  4. Try modifying and experimenting with the code to improve your understanding.

  5. Compile and run the programs using Dev C++ to see the output and behavior.


🎯 Who Is This For?

  • Absolute beginners who want to learn C programming from scratch
  • Students looking for practice problems with working solutions
  • Anyone wanting to understand basic programming concepts and logic in C
  • Developers who want to refresh their fundamentals in C language

🔍 Repository Structure

/C-Programming-Practice-Codes
│
├── 1. Program to print Hello World.c
├── 2. Addition of two numbers.c
├── 3. Check whether a number is even or odd.c
├── 4. Find factorial of a number.c
├── 5. Print multiplication table.c
├── 6. Using while loop.c
├── 7. Table using Do-while Loop (with three variables).c
├── 8. Arithmetic Operator.c
├── 9. Array.c
├── 10. Check the type of number.c
├── 11. Conditional Statement.c
├── 12. Find Even & Odd Numbers in an Array.c
├── 13. For Loop.c
├── 14. Full name & fav. quote exercice.c
├── 15. Function for num cube.c
├── 16. Function to print name.c
├── 17. Function to repeat msg.c




📖 Learning Tips

  • Read the comments inside each program carefully.
  • Try to write the same programs on your own without looking.
  • Change input values and observe how the program behaves.
  • Attempt to solve small problems by combining multiple concepts learned.
  • Regular practice is key — try to code daily!

📞 Contact

For any questions or suggestions, you can reach me at:
GitHub: samarthchawla2005 LinkedIn [Samarth Chawla] (www.linkedin.com/in/samarth-chawla-sc1211rac)


Happy Learning! 🚀
Samarth Chawla

About

This Repository include some C program which I have made in Dev C++. You can also learn C programming using this repository as it contains programs from beginner to advance level.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages