Question: What input would make lead the program ( myProgram 1 ) to output Pass? [ 5 points ] int main ( ) { std::string languages
What input would make lead the program myProgram to output "Pass"?
points
int main
std::string languagesEnglish "Italian", "German", "French", C
std::string ptrptrptr;
int i;
ptr languages;
ptr;
ptr &languages ;
ptr ptr;
std:: cout ptr std::endl;
ifptr ptr
std::cout "PASS" std::endl;
else
std:: cout ptr std::endl;
std::cout ptr std::endl;
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
