2 Anything Prints Following Statements Performed Statement Contains Error Describe Error I Q37112501

2. What (if anything) prints when each of the following statements is performed? If the statement contains an error, describe

2. What (if anything) prints when each of the following statements is performed? If the statement contains an error, describe the error and indicate how to correct it. Assume the following variable declarations: char s1[ 50 ] = char s2[ 50 1l char s3 50 ; << strcpy s3, s2 endl; a) cout << ANS: b) cout << strcat strcat strcpy s3, sl,”and”), s2) << endl; ANS: c) ut << strlen( s1) trlen( s2) << endl;

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.