create array of -1 in c++ code example
Example: how to declare 1-D array in C/C++
int arr[N] = {1, 2, 5}; // Datatype Array_name[size_of_array] = {value_of_elements}
int arr[N] = {1, 2, 5}; // Datatype Array_name[size_of_array] = {value_of_elements}