Skip to main content
Ctrl+K
C Programming - Home C Programming - Home
  • Tools
    • Package manager & terminal
    • Editor
    • Compiler
    • Running and debugging
    • Organizing code in a repo
    • Language server assistance
    • LLM code assistance
    • Raylib
    • Summary
    • Quiz
    • Appendix
  • Week 1
    • Flowchart
    • Control flow
    • Conveyor belt capacity check
  • Week 2
    • Data input and datatypes
  • Week 3
    • Spare parts inventory assistant
    • Blending data and logic
    • Arrays
    • Strings, Boolean expressions, auto
    • Ternary conditional operator, while statement
    • for loop
    • Reading whole lines using fgets
  • Week 4
    • Rock paper scissors Spock lizard
    • Generating random numbers
    • Reading a single character from stdin
    • Enumerated type
    • switch
    • do while
    • String literals spanning multiple lines
    • RPSSL resolution logic
    • Back to the problem
  • Week 5
    • Cryptography
    • Command-line interface
    • Modularization
    • Header files and inline documentation
    • Back to the problem
  • Week 6
    • Knight’s tour
    • Variable-length arrays
    • typedef for arrays
    • Back to the problem
  • Week 7
    • Bubble sort
    • Giving something vs pointing to something
    • Pointer to object
    • Pointer to function
  • Week 8
    • FrankenText
    • Replacing non-printable chars
    • How to use provided functions token_id and append_to_succs
    • Breaking a string into tokens
    • Copying and initializing using mem* functions
  • Week 9
    • Balls and their admirers
    • struct
    • Data locality
    • Write less with typedef
    • union
    • typeof
    • Moving a shape
  • Week 10
    • Filter CSV by age
    • Sequential IO with stdin & stdout
    • Streams
  • Week 11
    • Playlist
    • Linked list
    • Appendix
  • Week 12
    • Review problems
  • Week 13
    • Review problems 2
    • Outlook

Appendix

  • Project template
  • Submission checklist
  • Study guide for the exam
  • Standard library reference
  • Overview of editor shortcuts
  • Web-based C tools
  • Activity descriptions
  • Miscellaneous topics
    • Different types of const in pointers
    • Further minimization on RPSSL resolution logic
    • Why do I prefer the format specifier %d over %i in printf?
    • Reading the return value of main() on the terminal
  • Additional exercises
  • Links
  • Solutions
  • .md

Miscellaneous topics

Miscellaneous topics#

  • Different types of const in pointers
  • Further minimization on RPSSL resolution logic
  • Why do I prefer the format specifier %d over %i in printf?
  • Reading the return value of main() on the terminal

previous

Activity descriptions

next

Different types of const in pointers

© Gökçe Aydos — CC BY 4.0 (notes), MIT (code), except otherwise noted.

Last updated on 23 Sep 2025.