- #1
carl123
- 56
- 0
HTML:
#include <iostream>
#include <cstring>
using namespace std;
int main() {
char personName[100] = "Albert Johnson";
char searchChar = 'J';
char* searchResult = 0;
/* Your solution goes here */
if (searchResult != 0) {
cout << "Character found." << endl;
}
else {
cout << "Character not found." << endl;
}
return 0;
}
Please, how do I got about this? Thanks