menu
QAmmunity.org
Login
Register
My account
Edit my Profile
Private messages
My favorites
Ask a Question
Questions
Unanswered
Tags
Categories
Ask a Question
48) int numbers[] = {10, 20, 30, 40, 50}; cout<<"the third element in the array is "; cout<<*numbers 3<
asked
Mar 3, 2022
75.5k
views
3
votes
48) int numbers[] = {10, 20, 30, 40, 50}; cout<<"the third element in the array is "; cout<<*numbers 3<
Mathematics
high-school
Danem
asked
by
Danem
8.8k
points
answer
comment
share this
share
0 Comments
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
1
Answer
5
votes
30 the answer is the third array
Martinarroyo
answered
Mar 9, 2022
by
Martinarroyo
8.1k
points
ask related question
comment
share this
0 Comments
Please
log in
or
register
to add a comment.
← Prev Question
Next Question →
Related questions
asked
Jun 28, 2024
216k
views
Which of the following would NOT declare and initialize the nums array such that 1 2 3 4 5 would be output from the following code segment? for(int i = 0; i < 5; i++) { cout << nums[i]<<""; } None of these int nums[5]; for(int i = 0; i < 5; i++) { nums[i] = i + 1; } int nums[5] = {1,2,3,4,5); int nums[5]; nums[0] = 1; nums[1] = 2; nums[2] = 3; nums[3] = 4; - nums[4] = 5:
Wil Tan
asked
Jun 28, 2024
by
Wil Tan
8.4k
points
Computers and Technology
high-school
1
answer
5
votes
216k
views
asked
Apr 19, 2024
155k
views
Any problems with this code? int a[10]; cout << () << '\\'; A) No, it will print the content of array `a` B) Yes, it will result in a compilation error C) Yes, it will print garbage values D) No, it will print the size of array `a`
DaveKub
asked
Apr 19, 2024
by
DaveKub
7.7k
points
Computers and Technology
high-school
1
answer
0
votes
155k
views
asked
Dec 9, 2024
108k
views
Complete the PrintVals function to print each array element on a separate line. void PrintVals(int arrayVals[], int numElements) { int i; for(i = 0; i < numElements; ++i) { cout << arrayVals[i] << endl; } }
Milos Kovacevic
asked
Dec 9, 2024
by
Milos Kovacevic
7.9k
points
Chemistry
high-school
1
answer
3
votes
108k
views
Ask a Question
Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.
9.5m
questions
12.2m
answers
Other Questions
How do you can you solve this problem 37 + y = 87; y =
What is .725 as a fraction
How do you estimate of 4 5/8 X 1/3
A bathtub is being filled with water. After 3 minutes 4/5 of the tub is full. Assuming the rate is constant, how much longer will it take to fill the tub?
i have a field 60m long and 110 wide going to be paved i ordered 660000000cm cubed of cement how thick must the cement be to cover field
Twitter
WhatsApp
Facebook
Reddit
LinkedIn
Email
Link Copied!
Copy
Search QAmmunity.org