Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Consider the following array declaration int sales [ 5 ] = { 1 0 0 0 0 , 1 2 0 0 0 , 9

Consider the following array declaration
int sales[5]={10000,12000,900,500,20000};
The statement sales[4]= sales[4-2]; will replace the number _____
a.
500 with 498
b.
20000 with 900
c.
20000 with 19998
d.
500 with 12000

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

differentiate the function ( x + 1 ) / ( x ^ 3 + x - 6 )

Answered: 1 week ago

Question

Evaluating Group Performance?

Answered: 1 week ago