Computers C++

posted by .

I really need help with this one...

1.) Look at the following declaration.

enum Person { BILL, JOHN, CLAIRE, BOB };
Person p;

Indicate which of the following statements or expressions is valid.

A.) p = BOB;

B.) p++;


D.) p = 0;

E.) int x = BILL;

F.) p = static_cast<Person>(3);

G.) cout << CLAIRE << endl;

Respond to this Question

First Name
School Subject
Your Answer

Similar Questions

  1. English Expression

    Posted by John on Monday, May 19, 2008 at 3:47pm. Using each card in Group A and Group B, let's play the "Making a Suitable Sentence" Game. John and she are the third person singular, so they take the third person singular present …
  2. English

    Look at the pictures. Look at Einstein first. He is a physicist. Let's go counterclockwise. The next person is Namjoon Baek. He is the person on the top of the page. Look at the next person. Go counterclockwise, and you can see a person. …
  3. math

    8)State a valid conclusion for the following statements: • If a person is a senior in college, then they have completed all of their general education requirements. • Beth is a senior in college
  4. English

    I forgot to include the following statements. I really hope you can have a look at them, too. Thank you very much in advance. 1)The third-person narrator is a narrator who stands outside the story and uses the third person voice to …
  5. Biology

    Please help !!!! two bacteria, "Claire" and "Bob" are infected with a virus. Claire explodes several hours later and Bob lives happily ever after.... until one day when Bob feels stressed out and all the sudden, explodes as well. What …
  6. Psychology

    Need help asap! Regarding schizophrenia, which of the following statements is FALSE?
  7. Psychology

    Need help please! I need to know if this the correct answer. Please help! Regarding schizophrenia, which of the following statements is FALSE?
  8. English

    I need a few characteristic to describe the following: The person quickly switches from loving one person to another.and The person is willing to die for someone even though they have only met for a few days. I thought of a few. But …
  9. la check

    which of the following is not a major point of view first person third person fourth person limited (THIS ONE)
  10. History Ms sue

    a cashier gives one person a $5 bill and 15 $1 bills in exchange for a $20 bill. He gives a second person a $10 bill, a $5 bill and five $1 bills in exchange for a $20 bill whcih characteristic of money does this illustrate A. Durability …

More Similar Questions