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, 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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!