-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Audit and Fix pointers-arrays-and-structs.md #104
Audit and Fix pointers-arrays-and-structs.md #104
Conversation
* add alt text for image * add admonitions in place of blockquotes * use inline code where needed * add frontmatter with correct info
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All required changes are seemed to be made in this PR
Nice work, @Antonio-Bennett! nit:
can be wrapped with backticks for clarity and consistency with the one on line 189. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. One fix needed.
@@ -164,9 +171,9 @@ The above program produces the following output: | |||
5611 | |||
``` | |||
|
|||
Caution | |||
|
|||
:::caution | |||
The syntactic equivalence between pointer parameters and array names does not extend to the definition of an array. We cannot replace the definition of an array with a pointer definition. An array definition allocates the stated number of memory locations for all of the elements in the array. A pointer definition **allocates only one memory location to hold a single address**. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One thought for this! I think it happened because a writer who first wrote it put the sentences in a different row, and in markdown, it considers as another single space unless you put another line. It considers different lines without an extra next line in one single paragraph. And it seems okay in the MD since markdown automatically collapses the unnecessary whitespaces.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
Fixes #89