Getting Used to Pointers with Pointer Drills

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Abstract

When you start out reading C code, reading code can feel like reading a foreign language: you get lost in a sea of asterisks, dots, arrows, and ampersands. Experienced C programmers write pointer code the way fluent users of math and language write: they do not necessarily always need to reason from first principles. We propose learning to use pointers the way students learn algebra in school: doing a large number of small exercises. John von Neumann famously said that ''[i]n mathematics, you don't understand things. You just get used to them.'' We hope that our drill exercises enable both getting used to pointers and understanding them. Our exercises and solutions are available at https://CPointerDrills.github.io/ .

Original languageEnglish (US)
Title of host publicationITiCSE 2025 - Proceedings of the 30th ACM Conference on Innovation and Technology in Computer Science Education
PublisherAssociation for Computing Machinery
Pages757-758
Number of pages2
ISBN (Electronic)9798400715693
DOIs
StatePublished - Jun 27 2025
Externally publishedYes
Event30th Annual Conference on Innovation and Technology in Computer Science Education, ITiCSE 2025 - Nijmegen, Netherlands
Duration: Jun 27 2025Jul 2 2025

Publication series

NameAnnual Conference on Innovation and Technology in Computer Science Education, ITiCSE
Volume2
ISSN (Print)1942-647X

Conference

Conference30th Annual Conference on Innovation and Technology in Computer Science Education, ITiCSE 2025
Country/TerritoryNetherlands
CityNijmegen
Period6/27/257/2/25

All Science Journal Classification (ASJC) codes

  • Management of Technology and Innovation
  • Education

Keywords

  • c
  • cs1/cs2
  • pointers

Fingerprint

Dive into the research topics of 'Getting Used to Pointers with Pointer Drills'. Together they form a unique fingerprint.

Cite this