Answers for "how to declare 1-D array in C/C++"

C++
1

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

int arr[N] = {1, 2, 5};   // Datatype Array_name[size_of_array] = {value_of_elements}
Posted by: Guest on May-01-2021

Browse Popular Code Answers by Language