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

Update array.md #890

Merged
merged 2 commits into from
Oct 26, 2023
Merged

Update array.md #890

merged 2 commits into from
Oct 26, 2023

Conversation

syd168
Copy link
Contributor

@syd168 syd168 commented Oct 25, 2023

If this PR is related to coding or code translation, please fill out the checklist and paste the console outputs to the PR.

  • I've tested the code and ensured the outputs are the same as the outputs of reference code.
  • I've checked the code (formatting, comments, indentation, file header, etc) carefully.
  • The code does not rely on a particular environment or IDE and can be executed on a standard system (Win, macOS, Ubuntu).

@krahets
Copy link
Owner

krahets commented Oct 26, 2023

Actually, both int nums[5] = { 1, 3, 2, 5, 4 }; and int nums[5] { 1, 3, 2, 5, 4 }; are correct.

@krahets krahets merged commit 356db47 into krahets:main Oct 26, 2023
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.

2 participants