Random-access structures in C++?

Is an array, sequential list, and linked list random-access structures in C++? I know random-access means that you can access the elements stored in the structures randomly (go from 0 to 3 to 5 to 2...) but I'm not sure about these. I don't an array or sequential list is random-access but I think linked... show more Is an array, sequential list, and linked list random-access structures in C++?

I know random-access means that you can access the elements stored in the structures randomly (go from 0 to 3 to 5 to 2...) but I'm not sure about these. I don't an array or sequential list is random-access but I think linked lists might be. Am I right? Can you explain why if I'm wrong?

Thanks!
3 answers 3