Saturday
August 23, 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

Computers C++ - 1.) Consider the following array definition: int values[ 5] = { ...
Computers C++ - 1.) Look at the following array definition. int numbers[] = { 2...
computer science - 9.10: Reverse Array Write a function that accepts an int ...
programming - I really need help in this it makes me confuse.I should make a ...
shabou - Can someone please make a Binarytree of these methodes in Java?: public...
C# - 5) Suppose you have declared an integer array named scores and you make the...
C++ Programming - Design and create a class named Stats that has an array of 12 ...
Programming Language - Create a method called countSelected, which takes an ...
Computers - //program that puts two lists in order in one single list with all ...
computers - Programming - Create a program that uses two parallel one-...

Search
Members