0

I am reading a C book and their is a function that looks like:

reverse( const char * const sPtr );

Is this function accepting both a character and then a pointer?
I don't understand the * const sPtr.
It almost looks like it's trying to multiply it.

GSerg
  • 76,472
  • 17
  • 159
  • 346
ciphermute
  • 401
  • 1
  • 4
  • 4
  • This function is accepting a pointer to char* where the pointer and the pointed to value are expected to be const. – SafelyFast Apr 02 '23 at 15:45

0 Answers0