C Programming Laboratory
Comprehensive lab experiments covering fundamental to advanced C programming concepts
Each experiment includes aim, procedure, flowchart, program code, sample I/O, and real-world applications
← Back to LabsLab Experiments
Experiment 01 – Basic I/O and Arithmetic
Learn input/output operations and basic arithmetic calculations in C
Experiment 02 – Largest of Three Numbers
Find the largest among three numbers using conditional statements
Experiment 03 – Factorial Calculation
Calculate factorial of a number using loops
Experiment 04 – Prime Number Check
Check if a number is prime using loops and conditions
Experiment 05 – Menu-Driven Calculator
Create a calculator with menu options using switch-case
Experiment 06 – Array Statistics
Calculate sum, average, maximum, and minimum of array elements
Experiment 07 – Matrix Operations
Perform addition, subtraction, and multiplication of matrices
Experiment 08 – String Operations
Implement string manipulation functions like length, copy, concatenate
Experiment 09 – Fibonacci Using Recursion
Generate Fibonacci series using recursive functions
Experiment 10 – Array Reverse Using Pointers
Reverse an array using pointer arithmetic
Experiment 11 – Structures – Student Record
Create and manage student records using structures
Experiment 12 – File Handling – Student Records
Store and retrieve student records from files
Experiment 13 – Search and Sort Algorithms
Implement linear search, binary search, and sorting algorithms
Experiment 14 – Dynamic Memory Allocation
Use malloc, calloc, realloc, and free for dynamic memory management
About This Lab
This C Programming Laboratory section provides hands-on experiments designed to strengthen your understanding of C programming fundamentals. Each experiment is structured with:
- Aim: Clear learning objectives for each experiment
- Procedure: Step-by-step instructions to complete the task
- Flowchart: Visual representation of program logic
- Program Code: Complete, well-commented C source code
- Sample Input/Output: Example test cases and expected results
- Use Case: Real-world applications and relevance
🎯 Want to practice these concepts?
Try our C Programming Practice Problems with lab-style questions, sample I/O, hints, and scoring.
Practice C Programming