Skip to content

mjpcaice/pc-lab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“˜ Programming in C β€” Lab Experiments, Solutions & Notes

This repository is a comprehensive collection of C programming lab experiments, including:

  • πŸ§ͺ Lab Assignments & Experiments
  • πŸ’» Well-structured Solutions (C source code)
  • πŸ“ Concept Notes and Explanations
  • 🧠 Practice Problems & Output Samples

It is designed to help beginners and students quickly understand the core concepts of the C programming language through hands-on practice and reference material.


πŸ“‚ Repository Structure

Programming-in-C-Lab/
β”‚
β”œβ”€β”€ experiments/
β”‚   β”œβ”€β”€ exp01_hello_world.c
β”‚   β”œβ”€β”€ exp02_variables.c
β”‚   β”œβ”€β”€ exp03_control_statements.c
β”‚   └── ...
β”‚
β”œβ”€β”€ notes/
β”‚   β”œβ”€β”€ intro_to_c.md
β”‚   β”œβ”€β”€ control_structures.md
β”‚   β”œβ”€β”€ pointers.md
β”‚   └── ...
β”‚
β”œβ”€β”€ solutions/
β”‚   β”œβ”€β”€ lab_set_1/
β”‚   β”œβ”€β”€ lab_set_2/
β”‚   └── ...
β”‚
β”œβ”€β”€ README.md
└── LICENSE

⚑ Topics Covered

  • Basics of C programming
  • Data types, variables, operators
  • Conditional statements and loops
  • Functions and recursion
  • Arrays, strings, and structures
  • Pointers and dynamic memory
  • File handling

🧩 How to Use

  1. Clone the repo

    git clone https://github.com/your-username/Programming-in-C-Lab.git
    cd Programming-in-C-Lab
  2. Compile and run any experiment

    gcc experiments/exp01_hello_world.c -o hello
    ./hello
  3. Read the notes to understand the theory behind each experiment.


πŸ’‘ Purpose

This repository is mainly aimed at:

  • Students preparing for lab exams or internal assessments
  • Beginners who want a step-by-step guide to learn C
  • Anyone looking for ready-to-use reference code

πŸ“œ License

This project is licensed under the GNU License. Feel free to fork, modify, and use the code for educational purposes.

About

A collection of C programming lab experiments with solutions and notes. Includes sample programs, explanations, and practice problems to help students learn and revise core C concepts.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages