Bifalgorithm post · Computer science one · Basic Operations

How can strings be modified or copied?

How can strings be modified or copied? (Computer science one · Basic Operations) — "Modifying a string or copying one string into another may be supported by t…

Ideas in this flowchart

  • Modificación y copia de cadenas
  • El mecanismo disponible depende del lenguaje o entorno.
  • La operación puede estar soportada por el operador de asignación incorporado.
  • Si no está soportada, puede requerirse una función de copia.
  • La copia de cadenas plantea problemas similares a los de la copia de arreglos.
  • La copia puede ser superficial.
  • La copia también puede ser profunda.
  • Estos tipos de copia se explican en la Sección 7.2.2.
Feed/

How can strings be modified or copied?

No cover

Channel

Computer science one

1 page

"Modifying a string or copying one string into another may be supported by the built-in assignment operator or it may require the use of a copy function. When copying strings, similar issues come into play as with arrays. The “copy” could be a shallow copy or a deep copy (see Section 7.2.2)."

Flowchart preview
👍
0
0 comments0 shares

Sign in to view and post comments.