0
How to make a fanction using c++ that returns the length of a string or array of characters?
2 Answers
0
I know for vectors you can use vector.size() . not sure what is for array, but maybe that helps you get the idea since vectors and arrays can be used interchangeably, but format is different.
0
usually the size of array is given when you declare it.