Buscar

In C, what value represents FALSE and what value represents TRUE? I- 0 represents FALSE and any other value represents TRUE. II- 1 represents FALS...

In C, what value represents FALSE and what value represents TRUE?

I- 0 represents FALSE and any other value represents TRUE.
II- 1 represents FALSE and any other value represents TRUE.
III- 0 represents TRUE and any other value represents FALSE.
IV- 1 represents TRUE and any other value represents FALSE.
a) Only I is correct.
b) Only II is correct.
c) Only III is correct.
d) Only IV is correct.

Essa pergunta também está no material:

e-book 3
60 pág.

Lógica de Programação e Algoritmos Faculdade das AméricasFaculdade das Américas

💡 1 Resposta

User badge image

Ed Verified user icon

A alternativa correta é a letra A) Only I is correct. Em C, o valor 0 é considerado falso e qualquer outro valor é considerado verdadeiro.

0
Dislike0

Faça como milhares de estudantes: teste grátis o Passei Direto

Esse e outros conteúdos desbloqueados

16 milhões de materiais de várias disciplinas

Impressão de materiais

Agora você pode testar o

Passei Direto grátis

Você também pode ser Premium ajudando estudantes

✏️ 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