A collection of C language tutorials, exercises, and examples used for learning the fundamentals of systems programming in CMSC 21.
This repository includes examples demonstrating core C concepts:
- Pointers & Pass-by-Reference: (
pass_by_reference.c) - Arrays: Working with 1D and multidimensional arrays (
array.c) - Strings: String manipulation and character arrays (
string.c) - Master Exercises: Combined concepts (
master.c)
To compile and run any of these examples, you will need gcc installed on your system.
# Compile a specific file
gcc array.c -o array_test
# Run the compiled executable
./array_testCMSC 21 (Fundamentals of Machine Learning & Systems Programming) covers the low-level mechanics of computing, memory management, and structured programming in C.