Skip to content

abderrahmaneRabeh/Exercices-in-c-language

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C Programming Exercises and Solutions

Welcome to the C Programming Exercises and Solutions repository! This repository is designed to help beginners and intermediate learners improve their skills in C programming through practical exercises and solutions.

📚 About

This repository contains a variety of C programming exercises, each focused on different aspects of the language, such as:

  • Variables and Data Types
  • Loops and Conditionals
  • Functions and Recursion
  • Arrays, Pointers, and Strings
  • Structures and Unions
  • File Handling
  • Memory Management
  • And more!

Each exercise comes with a complete solution to help you understand the logic and approach required.

🛠 How to Use

To use this repository:

  1. Clone the repository to your local machine:

    git clone https://github.com/abderrahmaneRabeh/Exercices-in-c-language.git
    
  2. Browse the exercises and pick one to work on.

  3. Compile and run the code on your machine:

    • Use any C compiler, such as GCC.
    • Example to compile:
      gcc exercise_filename.c -o exercise_output
      ./exercise_output
  4. Try modifying the code to experiment with different scenarios or inputs for deeper understanding.

📁 Folder Structure

Each exercise is contained within a single .c file. The general format includes:

  • A comment block describing the exercise.
  • The solution written in C.

🧑‍💻 Contributing

Feel free to contribute to the repository! You can:

  • Add new exercises.
  • Suggest improvements to existing solutions.
  • Fix any issues you find.

To contribute:

  1. Fork the repository.
  2. Create a new branch with your improvements (git checkout -b feature-new-exercise).
  3. Commit your changes (git commit -m 'Add new exercise on X').
  4. Push to the branch (git push origin feature-new-exercise).
  5. Submit a pull request for review.

📧 Contact

If you have any questions, suggestions, or feedback, feel free to reach out by opening an issue or contacting me directly at rabehlife144@gmail.com.

Releases

No releases published

Packages

No packages published

Languages