<aside> 💡 Since Strings are char Arrays, we can subscript them and access each element.

</aside>

How do we write a function that counts the number of spaces in a String?


Is it better to use Array operations or Pointer operations to access characters of a string?

Should a String parameter be declared as an Array or as a Pointer?