Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
I think
++
has higher precedence over*
, so it is evaluated first. You can make the first one work, if you put the brackets correctly.The
++
may not work as you expect in this example. Try rewriting it like the other one.You can't / don't. The solution set-up has direction in the comments about using the provided pointers
positivesCount
, andnegativesSum
:You cannot modify any element of the array. You'll get an error if you try to.