Thursday
April 17, 2014

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

math - The Media cnter at Josh's school has a computer area. The first four rows...
computers - what computers can do?what computers cannot do?what are the ...
computers - How does a computers benefit from having all in one computer ...
introduction to computers - Which type of high speed memory is common to almost ...
introduction to computers - Which type of high speed memory is common to almost ...
math help - Universal instruments found that the monthly demand for its new line...
Calculus - Universal instruments found that the monthly demand for its new line ...
math - in a shipment of 20 computers, 3 are defective three computers are ...
computers - why do we need computer ethics? Why should we need ethics at all? ...
math - Julius sold 5x as many computers as Sam sold last year. In total they ...

Search
Members