Chapter 14: Problem 2
For each of the following, write a single statement that performs the indicated task: a) Compare the string in s1 to the string in \(s 2\) for equality of contents. b) Append the string \(s 2\) to the string \(s 1,\) using \(+=\) c) Determine the length of the string in s1.
Short Answer
Step by step solution
Key Concepts
These are the key concepts you need to understand to accurately answer the question.