Vector in C++ is a sequence container representing arrays that can change in size (dynamic allocation)Vector uses dynamic allocation in which it alloc