MCQS | Which of the following is correct code to search in array?

Question:Which of the following is correct code to search in array?

1. ${arr[@]/*[aA]*/}

2. ${arr[#]/*[aA]*/}

3. ${arr[*]/*[aA]*/}

4.Both A and C