Monday
October 20, 2014

Homework Help: Computers C++

Posted by Thomas on Friday, July 12, 2013 at 7:52pm.

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++;

C.) BILL > BOB

D.) p = 0;

E.) int x = BILL;

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

G.) cout << CLAIRE << endl;

Answer this Question

First Name:
School Subject:
Answer:

Related Questions

Biology - Please help !!!! two bacteria, "Claire" and "Bob" are infected with a ...
English - Look at the pictures. Look at Einstein first. He is a physicist. Let's...
HIS - i need help with theses please<< Magna Carta , Mayflower Compact, ...
English - I forgot to include the following statements. I really hope you can ...
Math riddle, I need help!! - Person A has one amount of money in his pocket, ...
English - Can you help me check these sentences, please? Thank you. I need to ...
English - 1. Look, there is a person coming. 2. Look, there is a person who is ...
English - 1. Take exercise on a regular basis, and you will be a happy person. 2...
Ethics - 1. Which of the following positions holds that moral beliefs vary from ...
Spanish - We are working withdirect object pronouns and we had to answer these ...

Search
Members