is there any difference between array and array container because I am not able to iterate over array by using an iterator.
Difference between array ant array container
They are the same.
If you are referring to vectors…then they are different from arrays.
then why iterators are not working on array but working on array container.
Iterator are only for STL containers.
Simple array is not a STL container.
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.