Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

What is the value of the following expression?

true && true

a. true

b. false

c. -1

d. +1

2 Answers

Relevance
  • 3 years ago

    Break that down to COBOL, then I can answer!

    (Yeah, it's kinda sad knowing old languages and being "out of shape")

  • Anonymous
    3 years ago

    Depends on which language you're using, it could be any of them except b.

    Technically it could be b too. But only if the language doesn't define true and false, but the user has defined them to other values.

Still have questions? Get your answers by asking now.