Solved

Which of the Following Would Not Return String::npos When Used

Question 22

Multiple Choice

Which of the following would not return string::npos when used on the string s which contains "rack":


A) s.find_first_not_of("crackling") ;
B) s.find_first_not_of("packrat") ;
C) s.rfind("car") ;
D) s.find("ack") ;

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions