I have an array here int arr[] = { 2, 3, -1, -1, -1, 4, -1, -1 }; and I want to write a code that gets the number of -1s in the array but only the
int arr[] = { 2, 3, -1, -1, -1, 4, -1, -1 };
-1