Search Header Logo

Cuestionario sobre Estructuras en C++

Authored by Milka /Matemáticas

Computers

11th Grade

Used 2+ times

Cuestionario sobre Estructuras en C++
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 3 pts

¿Cuál es la sintaxis correcta para declarar una estructura vacía en C++?

structure { };

struct nombre { };

structure nombre { };

struct tipo nombre { };

2.

MULTIPLE CHOICE QUESTION

1 min • 3 pts

¿Cómo se accede a un miembro de una estructura usando una variable de estructura?

variable->miembro

variable:miembro

variable.miembro

variable,miembro

3.

MULTIPLE CHOICE QUESTION

1 min • 3 pts

¿Cuál de las siguientes es la forma correcta de declarar una variable de tipo struct?

struct nombre;

nombre variable;

variable nombre;

struct nombre variable;

4.

MULTIPLE CHOICE QUESTION

1 min • 3 pts

¿Qué tipo de datos pueden almacenarse dentro de una estructura?

Solo tipos básicos como int y float

Solo otros struct

Solo punteros

Cualquier tipo de dato válido en C++

5.

MULTIPLE CHOICE QUESTION

1 min • 3 pts

¿Cuál es la sintaxis correcta para definir un miembro de una estructura dentro de un struct?

int miembro

int miembro;

int: miembro;

int miembro,

6.

MULTIPLE CHOICE QUESTION

1 min • 3 pts

¿Cómo se pasa una estructura a una función por referencia?

void funcion(struct nombre variable)

void funcion(struct nombre* variable)

void funcion(struct nombre& variable)

void funcion(struct & variable)

7.

MULTIPLE CHOICE QUESTION

1 min • 3 pts

¿Cuál es el nombre correcto de un tipo definido por una estructura?

struct

struct nombre_variable

nombre_variable

struct nombre

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?

Discover more resources for Computers