Wednesday
April 1, 2015

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 - I forgot to include the following statements. I really hope you can ...
English - I need a few characteristic to describe the following: The person ...
English - Look at the pictures. Look at Einstein first. He is a physicist. Let's...
Psychology - Need help please! I need to know if this the correct answer. Please...
Psychology - Need help asap! Regarding schizophrenia, which of the following ...
la check - which of the following is not a major point of view first person ...
HIS - i need help with theses please<< Magna Carta , Mayflower Compact, ...
math - 8)State a valid conclusion for the following statements: If a person is...
English Expression - Posted by John on Monday, May 19, 2008 at 3:47pm. Using ...

Members