Suppose that s1 and s2 are given as follows:
string s1(“I have a dream”);string s2(“Computer Programming”); char s3[] = “ABCDEFGHIJKLMN” ;
Assume that each expression is independent. What are the results of s1 , s2 , and s3 after each of the following statements?
(1) s1.c1ear()
(2) s1.copy(s3, 5 , 2)
(3) s1.compare(s2)
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.