Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 985 Bytes

File metadata and controls

29 lines (19 loc) · 985 Bytes

CMSC 21 Tutorial 💻

C

A collection of C language tutorials, exercises, and examples used for learning the fundamentals of systems programming in CMSC 21.

📝 Contents

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)

🛠️ Usage

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_test

📚 About CMSC 21

CMSC 21 (Fundamentals of Machine Learning & Systems Programming) covers the low-level mechanics of computing, memory management, and structured programming in C.