Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

how to declare 1-D array in C/C++

int arr[N] = {1, 2, 5};   // Datatype Array_name[size_of_array] = {value_of_elements}
Source by www.hackerearth.com #
 
PREVIOUS NEXT
Tagged: #declare #array
ADD COMMENT
Topic
Name
7+4 =