Sunday
August 30, 2015

Homework Help: Computers C++ (2)

Posted by Thomas on Thursday, July 11, 2013 at 1:57pm.

Thank You Steve For All The Help!
(If its you helping me with this one)

1.)

Consider the following array definition:

int values[ 5] = { 4, 7, 6, 8, 2 };

What does the following statement display?
cout << ( values[ 2] + values[ 3]) << endl;

2.)

Consider the following array definition:

int values[ 5] = { 4, 7, 6, 8, 2 };

What does the following statement display?
cout << ++ values[ 1] << endl;

Answer this Question

First Name:
School Subject:
Answer:

Related Questions

More Related Questions

Members