Answer to Question #43348 in C++ for ragmar
char name[ ] = "a";
char profession[ ] = "b";
char subject[ ] = "c";
cout << "please enter a word to search: ";
cin >> index;
cout << "first letter" <<endl;
cout << "second letter" << endl;
cout << "third letter" << endl;
So the line which confused you is read as "if not strcmp(name, index) equals true" or "if(strcmp(profession, index) == 0)"
Need a fast expert's response?Submit order
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
You're welcome. We are glad to be helpful.
If you liked our service please press like-button beside answer field. Thank you!
thank u very much really thank you keep in touch who ever you are!!!!!!!
very much appreciated.