Buscar

What is the size in bits and storage interval for the 'double' type in C++? The 'double' type in C++ has a size of 64 bits. The storage interval f...

What is the size in bits and storage interval for the 'double' type in C++?

The 'double' type in C++ has a size of 64 bits.
The storage interval for the 'double' type in C++ is from 1.7E-308 to 1.7E+308.
a) Only statement I is true.
b) Only statement II is true.
c) Both statements are true.
d) Both statements are false.

Essa pergunta também está no material:

Trabalho_de_Formatura_Apostila_da_Lingua
99 pág.

Programação I Universidade Estácio de SáUniversidade Estácio de Sá

💡 1 Resposta

User badge image

Ed Verified user icon

A resposta correta é a alternativa c) Ambas as afirmações são verdadeiras. O tipo 'double' em C++ tem um tamanho de 64 bits e o intervalo de armazenamento é de 1.7E-308 a 1.7E+308.

0
Dislike0

✏️ Responder

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

Outros materiais