Thursday
July 30, 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

More Related Questions

Members