Skip to content

Conversation

@Sheqi0620
Copy link

Hello!

I really suffered from this assignment, and I hope to know how to fix it and make my code run as I want.

Thank you really much!

Kelly


1. Discuss the differences between strings and a character array.
Answer:
A string is an array of chars, and an array is a group of characters within the same type. An array is static, and we can't change its size after declarition, while we can change the strings after declaeition. There is always a "\0" at the end of a string, while an array doesn't have that.
Copy link
Contributor

Choose a reason for hiding this comment

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

right!

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