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!