Skip to content

Conversation

eisenwave
Copy link
Member

@eisenwave eisenwave commented Aug 21, 2023

Firstly, this edit shortens the string literal used in the example. This is necessary because the original author makes a point about why sizeof(msg) == 25. Due to the length of the old literal, it is not possible to estimate its length at first glance. Most readers cannot tell by intuition that "Syntax error on line %s\n" is 25 characters long, and might even make a mistake while counting. The new "Hi\n" literal has a length which serves the example much better.

Secondly, this edit adds a comma before at is a single character, and because because it is grammatically more appropriate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant