Bash Scripting - Arrays
Given the Bash array declaration
numbers=(10 20 30 40), what is the output of echo ${numbers[3]}?numbers=(10 20 30 40), what is the output of echo ${numbers[3]}?numbers has elements: index 0=10, 1=20, 2=30, 3=40.${numbers[3]} returns the element at index 3, which is 40.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions