Buscar

What is the main characteristic of vectors? A vector is a data structure capable of storing multiple values in a single variable. All values store...

What is the main characteristic of vectors?

A vector is a data structure capable of storing multiple values in a single variable.
All values stored in a vector must be of the same type.
To manipulate and access the values individually, we need to use its position (or index), which is determined by an integer value counter that starts at 0 (zero).
a) Only I is correct.
b) Only II is correct.
c) Only III is correct.
d) I and II are correct.
e) I, II and III are correct.

Essa pergunta também está no material:

P-09_Vetores_parte_1
10 pág.

Cálculo Numérico Universidade Federal de Ouro PretoUniversidade Federal de Ouro Preto

Respostas

User badge image

Ed Verified user icon

The main characteristic of vectors is that all values stored in a vector must be of the same type. Therefore, the correct alternative is (b) Only II is correct.

0
Dislike0

Responda

SetasNegritoItálicoSublinhadoTachadoCitaçãoCódigoLista numeradaLista com marcadoresSubscritoSobrescritoDiminuir recuoAumentar recuoCor da fonteCor de fundoAlinhamentoLimparInserir linkImagemFórmula

Para escrever sua resposta aqui, entre ou crie uma conta

User badge image

Mais conteúdos dessa disciplina