Asked by Thomas
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;
(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;
Answers
Answered by
Steve
14
7
Have you tried actually running the code?
As my first boss used to say, "One measurement is worth a thousand expert opinions."
7
Have you tried actually running the code?
As my first boss used to say, "One measurement is worth a thousand expert opinions."
There are no AI answers yet. The ability to request AI answers is coming soon!
Submit Your Answer
We prioritize human answers over AI answers.
If you are human, and you can answer this question, please submit your answer.