DEV Community

Cover image for C Pointer Review
Erika Wiedemann
Erika Wiedemann

Posted on

4 2

C Pointer Review

This post was originally written February 24, 2017 during an embedded systems course. I'm migrating all my personal blog posts onto dev.to.

I was recently bogged down with an embedded systems project that took much longer than it should have. Part of the problem was using pointers again, so long after learning them the first time. All answers on StackOverflow were obvious once I saw them again, but what I really needed to be more effective was raw review and practice outside of project pressure.

A lot of language tutorials have detailed descriptions for each component of whatever they're doing, along with small code snippets to help "connect-the-dots." They're meant to teach. This post ends in a few sentences with a commented & ready-to run file reviewing basic C pointer assignment and access, arrays, structs, and function pointers. The comments will walk you through the code, while the output is experimental "proof" that it works.

I hope you find it helpful - happy reviewing!

gist.github.com - A Review of C Pointers

AWS GenAI LIVE image

How is generative AI increasing efficiency?

Join AWS GenAI LIVE! to find out how gen AI is reshaping productivity, streamlining processes, and driving innovation.

Learn more

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay