Bifalgorithm post · Computer science one · Basic Operations

How can individual characters in a string be accessed safely?

How can individual characters in a string be accessed safely? (Computer science one · Basic Operations) — "Other basic operations may include accessing and/or…

Ideas in this flowchart

  • Basic operations on strings
  • Operations on individual characters
  • Accessing individual characters
  • Modifying individual characters
  • Knowing the length of the string
  • Avoiding access to invalid characters
  • A language could provide the length as part of the string
Feed/

How can individual characters in a string be accessed safely?

No cover

Channel

Computer science one

1 page

"Other basic operations may include accessing and/or modifying individual characters in a string. In order to do so, we may also need to know a string’s length (so that we do not access invalid characters). A language could provide this as part of the string 177"

Flowchart preview
👍
0
0 comments0 shares

Sign in to view and post comments.