Search Header Logo

Preguntas sobre C++ y cadenas

Authored by Milton Arcani

Mathematics

University

Used 2+ times

Preguntas sobre C++ y cadenas
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Qué tipo de datos se usa en C++ para representar una cadena de caracteres tradicional?

int

char

string

char[]

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Cuál es el carácter que indica el final de una cadena tipo char[]?

\n

\0

\\

EOF

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Cuál es la biblioteca que se necesita para usar objetos tipo string?

<iostream>

<char>

<string>

<math>

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Qué función se usa para copiar una cadena en C tipo char[]?

copy()

strcpy()

strcat()

cin.getline()

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Cuál es la función para concatenar dos cadenas char[]?

add()

merge()

strcat()

link()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Qué clase proporciona C++ para manipular cadenas más fácilmente?

text

string

array

file

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Qué función permite conocer la longitud de un objeto string?

count()

size()

length()

measure()

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?