Hi, I'm Eric.

I’m an avid world traveler, photographer, software developer, and digital storyteller.

I help implement the Content Authenticity Initiative at Adobe.

Search Results

So you think you know C?

Found on 6 February 2024 via Mastodon 548

via Shafik Yaghmour (@shafik@hachyderm.io): Attached: 1 image

A five-question C quiz where the correct answer to every question is “I don’t know” — structure padding, integer promotion, implementation-defined char signedness, and unsequenced side effects all conspire to make seemingly obvious code undefined. A good humbling reminder that knowing C’s syntax is not the same as knowing what the standard actually guarantees.

So you think you know C?

If you’ve enjoyed this …

Subscribe to my free and occasional (never more than weekly) e-mail newsletter with my latest travel and other stories:

Or follow me on one or more of the socials: