Question: I need help. It's C++. Assuming char* firstR: is already declared, store in firstR a pointer to the first instance of an 'r' in the
I need help. It's C++. Assuming char* firstR: is already declared, store in firstR a pointer to the first instance of an 'r' in the char* variable userinput. strchr('r') Use strchr with second argument 'r'. Assuming char* lastR: is already declared, store in lastR a pointer to the last instance of an 'r' in the char* variable userinput. ________ Assuming char* firstQuit: is already declared, store in firstQuit a pointer to the first instance of "quit" in the char* variable userinput. _______
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
