Question: what is the objective of the following program? what will the program output if the user inputs the English name Peter? #include #include using namespace
what is the objective of the following program? what will the program output if the user inputs the English name Peter?
#include #include using namespace std; int mystery2(const char [], int); int main() { int size; char string1[80]: cout < < "please enter your English name: "; cin > > string1: size = strlen(string1); cout < < mystery2 (string1, size) < < endl; return 0: }
Step by Step Solution
3.43 Rating (153 Votes )
There are 3 Steps involved in it
The objective of the provided program is to prompt the user to ent... View full answer
Get step-by-step solutions from verified subject matter experts
