Skip to content
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

Merged

Conversation

Antonio-Bennett
Copy link
Contributor

@Antonio-Bennett Antonio-Bennett commented Nov 18, 2021

Fixes #89

  • add alt text for image
  • add admonitions in place of blockquotes
  • use inline code where needed
  • add frontmatter with correct info

	* add alt text for image
	* add admonitions in place of blockquotes
	* use inline code where needed
	* add frontmatter with correct info
Copy link

@irenejoeunpark irenejoeunpark left a 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

@oliver-pham
Copy link
Contributor

Nice work, @Antonio-Bennett!

nit: i+1-th on line 234

  • s[i] refers to the i+1-th element of the array

can be wrapped with backticks for clarity and consistency with the one on line 189.

Copy link
Contributor

@humphd humphd left a 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.

docs/F-Refinements/pointers-arrays-and-structs.md Outdated Show resolved Hide resolved
@@ -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**.
Copy link
Contributor

@Reza9472 Reza9472 Nov 20, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are a couple of places in all of the file where after a sentence, you can see a an extra space.
Please check the image below:

Screen Shot 2021-11-19 at 10 48 12 PM

It's should be an easy fix

Copy link

@irenejoeunpark irenejoeunpark Nov 23, 2021

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.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

@CameronGray1210 CameronGray1210 merged commit a6b40f3 into Seneca-ICTOER:main Nov 25, 2021
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.

Audit and fix pointers-arrays-and-structs.md
7 participants