Assume that an array of int variables named salarySteps that contains exactly five elements has been declared. Write a single statement to assign the value 30000 to the first element of this array.

LANGUAGE: C++

CHALLENGE:

Assume that an array of int variables named salarySteps that contains exactly five elements has been declared. Write a single statement to assign the value 30000 to the first element of this array.

SOLUTION:


salarySteps[0]=30000;