Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

how to declrae an array of size 1

vector<int> arr = {1};   // Initialized with 1 at arr[0] pos.
 
PREVIOUS NEXT
Tagged: #declrae #array #size
ADD COMMENT
Topic
Name
6+5 =