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.
- 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
- Compiler: GCC / MinGW / Turbo C
- IDE: VS Code / CodeBlocks / Dev-C++
- Operating System: Windows / Linux / macOS
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
- Program structure
- Keywords & identifiers
- Variables & data types
- Input / Output (
scanf,printf)
- if / if-else
- Nested if-else
- Operators
- for, while, do-while loops
- break and continue
- Loop with conditions
- Sum calculations
- Problem-solving challenges
- Even numbers, odd/even/positive/negative
- Max values, multiplication tables
- Digits operations
- One-dimensional arrays
- Two-dimensional arrays
- Array operations (sum, multiplication, transpose)
- Diagonal and triangle elements
- String handling
- String operations
- Frequency arrays
- Nested loop patterns
- Special array problems
- User-defined functions
- Built-in functions
- Function pointers
- Pointer basics
- Pointer arithmetic
- Pointer with arrays
- Recursion part 1 and 2
- Recursion with 2D arrays
- Midterm exam problems
- Final exam problems
- HackerRank challenges
- Codeforces practice
- Regular practice sessions
- Contests
- Problem-solving exercises
gcc program.c -o program
./programgcc program.c -o program.exe
programEnter two numbers: 10 20
Sum = 30
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
- Dennis Ritchie β The C Programming Language
- GeeksforGeeks β C Programming
- TutorialsPoint β C Language
Md. Emon Hossain BSc in Computer Science & Engineering Daffodil International University
β If you find this repository useful, please star it on GitHub!