subject

Assign a pointer to any instance of searchChar in personName to searchResult.#include #include using namespace std;int main() {char personName[100];char searchChar;char* searchResult = nullptr;cin. getline(personName, 100);cin >> searchChar;/* Your solution goes here */if (searchResult != nullptr) {cout << "Character found." << endl;}else {cout << "Character not found." << endl;}return 0;}

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 05:00
Which best explains why a digital leader would join a society specializing in technology
Answers: 1
question
Computers and Technology, 23.06.2019 23:00
Computer programming is one type of what career
Answers: 1
question
Computers and Technology, 24.06.2019 06:30
Me and category do i put them in because this is science
Answers: 1
question
Computers and Technology, 24.06.2019 09:00
Why might you chose to crest a function resume
Answers: 1
You know the right answer?
Assign a pointer to any instance of searchChar in personName to searchResult.#include #include using...
Questions
question
Mathematics, 29.02.2020 06:07
question
History, 29.02.2020 06:07
Questions on the website: 13722363