which if there code segments will always correctly assign the maximum element of the array to the variable max
1. 1 only
2. 2 only
3. 3 only
4. 2 and 3 only
5. 1, 2, and 3