Skip to content

mohammademon10/Introduction_C_Programming

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Introduction to C Programming - Assignments and Practice

Coverage Contributors Stars Release

πŸ“Œ Overview

This repository contains a collection of C programming assignments, modules, and practice problems designed for learning and mastering C programming concepts.

It covers fundamental to intermediate topics through structured modules and includes exam problems, HackerRank challenges, and Codeforces practice suitable for students preparing for labs, exams, and competitive programming.


🎯 Objectives

  • Learn C programming through practical assignments and modules
  • Understand program structure, logic, and syntax
  • Practice problem-solving with exam questions and coding challenges
  • Prepare for university exams, HackerRank, and Codeforces
  • Build skills in arrays, strings, functions, pointers, and recursion

πŸ›  Requirements

  • Compiler: GCC / MinGW / Turbo C
  • IDE: VS Code / CodeBlocks / Dev-C++
  • Operating System: Windows / Linux / macOS

πŸ“‚ Project Structure

Introduction_C_Programming/
β”‚
β”œβ”€β”€ Assignmemt_00_module_12_midterm_exam/
β”‚   β”œβ”€β”€ Count_me_04_p06.c
β”‚   β”œβ”€β”€ count_me_p01.c
β”‚   β”œβ”€β”€ count_me_p02.c
β”‚   β”œβ”€β”€ Count_me03_p04.c
β”‚   β”œβ”€β”€ Do_it_p05.c
β”‚   β”œβ”€β”€ Farmers_p03.c
β”‚   └── Tell_Me_p07.c
β”‚
β”œβ”€β”€ Assignment_00_Module_20_Final_Exam/
β”‚   β”œβ”€β”€ p_01_Tiger_vs_Pathan.c
β”‚   β”œβ”€β”€ p_02_Find_the_Missing_Number.c
β”‚   β”œβ”€β”€ p_03_Jadu_Matrix.c
β”‚   β”œβ”€β”€ p_04.c
β”‚   β”œβ”€β”€ p_05_pattern.c
β”‚   └── p_06.c
β”‚
β”œβ”€β”€ Assignment_01_Hackerrank/
β”‚   β”œβ”€β”€ p01.c
β”‚   β”œβ”€β”€ p02.c
β”‚   β”œβ”€β”€ P03.C
β”‚   β”œβ”€β”€ p04.c
β”‚   └── p05.c
β”‚
β”œβ”€β”€ Assignment_02_Hackerrank/
β”‚   β”œβ”€β”€ is_it_challenge_p02.c
β”‚   β”œβ”€β”€ Reverse_And_Odd_03.c
β”‚   β”œβ”€β”€ say_it_p01.c
β”‚   β”œβ”€β”€ sum_sum_p04.c
β”‚   └── update_&_print_05.c
β”‚
β”œβ”€β”€ Assignment_03_Hakerrank/
β”‚   β”œβ”€β”€ count_before_one.c
β”‚   β”œβ”€β”€ Even_&_odd_.c
β”‚   β”œβ”€β”€ palindrom_p04.c
β”‚   β”œβ”€β”€ pattern_01.c
β”‚   └── pattern_02.c
β”‚
β”œβ”€β”€ char/
β”‚
β”œβ”€β”€ string/
β”‚
β”œβ”€β”€ module_01/
β”‚
β”œβ”€β”€ module_02_Conditional/
β”‚   β”œβ”€β”€ conditional01.c
β”‚   β”œβ”€β”€ conditional02.c
β”‚   β”œβ”€β”€ conditional04.c
β”‚   β”œβ”€β”€ nestedifelse03.c
β”‚   └── operator.c
β”‚
β”œβ”€β”€ module_03_Loop/
β”‚   β”œβ”€β”€ 10To1print.c
β”‚   β”œβ”€β”€ break.c
β”‚   β”œβ”€β”€ continue.c
β”‚   β”œβ”€β”€ evenNumber.c
β”‚   β”œβ”€β”€ loop01.c
β”‚   β”œβ”€β”€ LoopWithCodition.c
β”‚   β”œβ”€β”€ oddNumber.c
β”‚   β”œβ”€β”€ sum1To5.c
β”‚   β”œβ”€β”€ sum1ToN.c
β”‚   └── sumNtoM.c
β”‚
β”œβ”€β”€ Module_05_(Codeforces)/
β”‚   β”œβ”€β”€ p01.c
β”‚   β”œβ”€β”€ p02.c
β”‚   β”œβ”€β”€ p03.c
β”‚   β”œβ”€β”€ p04.c
β”‚   β”œβ”€β”€ p05.c
β”‚   β”œβ”€β”€ p06
β”‚   └── P06.C
β”‚
β”œβ”€β”€ module_06/
β”‚   β”œβ”€β”€ B_Even_Numbers.c
β”‚   β”œβ”€β”€ C_Even_Odd_Positive_and_Negative.c
β”‚   β”œβ”€β”€ D_Fixed_Password.c
β”‚   β”œβ”€β”€ E_Max.c
β”‚   β”œβ”€β”€ F_Multiplication_table.c
β”‚   └── Q_Digits.c
β”‚
β”œβ”€β”€ Module_07_Array/
β”‚   β”œβ”€β”€ 1D_matrix.c
β”‚   β”œβ”€β”€ 2D_Array_matrix_sum.c
β”‚   β”œβ”€β”€ 2D_Array_Multiplication.c
β”‚   β”œβ”€β”€ 2D_Array_sum_of_diagonal.c
β”‚   β”œβ”€β”€ 2D_Array_sum_of_upper_&_lower_triangle_elements.c
β”‚   β”œβ”€β”€ 2D_Array_Transpose_Matrix.c
β”‚   β”œβ”€β”€ array_declare_01.c
β”‚   β”œβ”€β”€ Array_initialization.c
β”‚   β”œβ”€β”€ Array_input_&_output_02.c
β”‚   β”œβ”€β”€ Array_input_&_output_03.c
β”‚   └── ... (more files)
β”‚
β”œβ”€β”€ Module_09_Array _oparation/
β”‚   └── ... (array operations)
β”‚
β”œβ”€β”€ Module_10_String/
β”‚
β”œβ”€β”€ Module_10.5_practice_day/
β”‚
β”œβ”€β”€ module_11_string_oparation_&_frequency_Array/
β”‚
β”œβ”€β”€ module_11.5/
β”‚
β”œβ”€β”€ Module_13_nested_loop_pattern/
β”‚
β”œβ”€β”€ Module_13_pattern/
β”‚
β”œβ”€β”€ module_13_special_Array_problem/
β”‚
β”œβ”€β”€ Module_14_Builting_Function/
β”‚
β”œβ”€β”€ Module_14_Function/
β”‚
β”œβ”€β”€ module_14_function_pointer/
β”‚
β”œβ”€β”€ Module_14.5_practice_Day_01/
β”‚
β”œβ”€β”€ Module_15_Pointer/
β”‚
β”œβ”€β”€ Module_15.5_practice_day_02/
β”‚
β”œβ”€β”€ Module_17_Recuesion_part_01/
β”‚
β”œβ”€β”€ Module_18_2D_Array/
β”‚
β”œβ”€β”€ module_18.5_pratice_day_01/
β”‚
β”œβ”€β”€ Module_19_2D_Aray_&_Recursion_part_02/
β”‚
β”œβ”€β”€ Module_19.5_practice_day_02/
β”‚
β”œβ”€β”€ module_2.5_practice_Day/
β”‚
β”œβ”€β”€ module_3.5_contest/
β”‚
β”œβ”€β”€ Module_6.5_practice_day/
β”‚
β”œβ”€β”€ module_7.5_practice_codeforces/
β”‚
└── README.md

πŸ“˜ Topics Covered

πŸ”Ή Module 01: Basics of C

  • Program structure
  • Keywords & identifiers
  • Variables & data types
  • Input / Output (scanf, printf)

πŸ”Ή Module 02: Conditional Statements

  • if / if-else
  • Nested if-else
  • Operators

πŸ”Ή Module 03: Loops

  • for, while, do-while loops
  • break and continue
  • Loop with conditions
  • Sum calculations

πŸ”Ή Module 05: Codeforces Problems

  • Problem-solving challenges

πŸ”Ή Module 06: Basic Programming Problems

  • Even numbers, odd/even/positive/negative
  • Max values, multiplication tables
  • Digits operations

πŸ”Ή Module 07 & 09: Arrays

  • One-dimensional arrays
  • Two-dimensional arrays
  • Array operations (sum, multiplication, transpose)
  • Diagonal and triangle elements

πŸ”Ή Module 10 & 11: Strings

  • String handling
  • String operations
  • Frequency arrays

πŸ”Ή Module 13: Patterns

  • Nested loop patterns
  • Special array problems

πŸ”Ή Module 14: Functions

  • User-defined functions
  • Built-in functions
  • Function pointers

πŸ”Ή Module 15: Pointers

  • Pointer basics
  • Pointer arithmetic
  • Pointer with arrays

πŸ”Ή Module 17 & 19: Recursion

  • Recursion part 1 and 2
  • Recursion with 2D arrays

πŸ”Ή Assignments

  • Midterm exam problems
  • Final exam problems
  • HackerRank challenges
  • Codeforces practice

πŸ”Ή Practice Days

  • Regular practice sessions
  • Contests
  • Problem-solving exercises

β–Ά How to Compile and Run

Using GCC (Linux / macOS)

gcc program.c -o program
./program

Using MinGW (Windows)

gcc program.c -o program.exe
program

πŸ§ͺ Sample Output

Enter two numbers: 10 20
Sum = 30

βœ… Learning Outcomes

After completing this repository, you will be able to:

  • Write C programs for various problem types
  • Understand control structures, loops, and conditional statements
  • Work with arrays, strings, functions, and pointers
  • Solve recursion problems and 2D array operations
  • Tackle competitive programming challenges on platforms like HackerRank and Codeforces

πŸ“š References

  • Dennis Ritchie – The C Programming Language
  • GeeksforGeeks – C Programming
  • TutorialsPoint – C Language

πŸ‘¨β€πŸ’» Author

Md. Emon Hossain BSc in Computer Science & Engineering Daffodil International University


⭐ If you find this repository useful, please star it on GitHub!

About

A structured C programming repository with assignments, modules, and practice problems covering fundamentals to intermediate topics, including lab tasks, exams, HackerRank, and Codeforces challenges.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages