Skip to content

codewithsayanjit/C-Language-Tutorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C Programming Tutorial & Practice Sets

A comprehensive collection of C programming examples, ranging from basic syntax to advanced concepts like Dynamic Memory Allocation and File I/O. This repository serves as a personal learning journey and a reference guide for beginners.

🚀 Overview

This repository contains well-documented C programs covering the fundamental pillars of the language. It includes:

  • Core Concepts: Loops, Functions, Pointers, and Arrays.
  • Data Structures: Strings and Structures.
  • Advanced Topics: Recursion, DMA (Dynamic Memory Allocation), and File Handling.
  • Practice Sets: A series of problem sets (1–41) designed to reinforce logical thinking.

📂 Repository Structure

基础 Fundamentals

Topic Files
Operators Increment_Operator.c, Ternary_Operator.c, Associativity_rule.c
Control Flow If_Else, Switch_Operator.c, Break_Statement.c, Continue_Statement.c
Loops While_Loop.c, Do_While_Loop.c, For_Loop.c

🧠 Advanced Concepts

Category Description
Pointers Memory addressing, Pointer arithmetic, and Pointer-to-Pointer logic.
Arrays Multidimensional arrays and passing arrays to functions.
Functions Regular functions and recursive logic examples.
Memory & Files Dynamic_Memory_Allocation.c and FILE_IO.c.

🛠️ Practice Sets

The repository includes over 40 practice problems (Practice_Set_1.c through Problem_Set_41.c) that cover various mathematical and logical challenges, such as:

  • Area calculations (Circle, Square).
  • Swapping numbers.
  • String reversal (with and without library functions).
  • Array traversal and reversal.

💻 Getting Started

Prerequisites

To run these programs, you need a C compiler (like GCC) installed on your system.

Running a Program

  1. Clone the repository:
    git clone https://github.com/codewithsayanjit/C-Language-Tutorial.git
  2. Navigate to the directory:
    cd C-Language-Tutorial
  3. Compile and run a specific file (e.g., Area of a Circle):
    gcc Area_of_Circle.c -o Area_of_Circle
    ./Area_of_Circle

👤 Author

Sayanjit Jana


Feel free to star ⭐ this repository if you find it helpful!

About

"A structured collection of C programming tutorials, covering pointers, memory management, and 40+ logic-building practice sets."

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages