Interview Questions   Tutorials   Discussions   Programs   Videos   

C++ - "Difference between ""vector"" and ""array""?"




263
views
asked marvit August 19, 2014 12:34 AM  

"Difference between ""vector"" and ""array""?"


           

1 Answers



 
answered By bhjahnavi   0  
Vector is also an array but the size of a vector can change dynamically where in array its fixed. In a vector reserve spaces can be created but that is not possible in array.
flag   
   add comment

Your answer

Join with account you already have

FF

Preview


Ready to start your tutorial with us? That's great! Send us an email and we will get back to you as soon as possible!

Alert