Return vector

How to return -1 from a vector return type function

You can not return -1 from a vector return type function as -1 is not a vector.

1 Like