1. Engineering
  2. Computer Science
  3. anyone can help me with those questions please...

Question: anyone can help me with those questions please...

Question details
Anyone can help me with those questions please?
e. cout 13. (5) Given the following statements, what is the output of each code segment below? (Assume #include<string> has been coded at the top of the program): string heading=Exam Preparation Exercises, strng str; a. cout <heading.length0 b. cout << heading.substr(6,10); e. cout << heading.find(Ex); d. str heading,substr(2, 24); cout < str.find(Ex); str = heading-substr(heading-find(Ex) + 2, 24); cout << str. find (Ex); e. 14. (2) Formatting the output of a program incorrectly creates a logie error. T/F
Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution