Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

vectorv[]

vector<int>v;=>here we have created only one vector. v.push_back(10).  
vector<int>v[10];=>here we have created 10 vector,v[0],v[1],.....
               we push element like.
                v[0].push_back(10); v[0].push_back(40),v[1].push_back(23)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged:
ADD COMMENT
Topic
Name
2+7 =