Question: 5. We have a function with three parameters: a pointer to a character array (also known as a C-String), and two pointers to specific
5. We have a function with three parameters: a pointer to a character array (also known as a C-String), and two pointers to specific characters (we will assume that they point to characters in the C-String). 1 void stringPointerOperation (char* str, char* firstPtr, char* secondPtr) 2 { 3456N cout < < < str < < end; cout < < "First character=" < < *firstPtr
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
