Artem H.

asked • 05/07/21

Will this result in syntax error? for the same array as the below question, int [] salaries = {20,95, 77,56, 83} the statement salaries[5]=100

Will this result in syntax error?

for the same array as the above question,

int [] salaries = {20,95, 77,56, 83}

the statement 

salaries[5]=100


This will result in what if not syntax error?



(((Given an array declaration of salaries in thousands of dollars,

 

int [] salaries = {20,95, 77,56, 83}

The a=index at which the salary 56 is found is)))


1 Expert Answer

By:

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.