Question: Write a C++ program that copies a char array/C-string str1 to another char array named str2. The copy should be done character by character. While

 Write a C++ program that copies a char array/C-string str1 to

Write a C++ program that copies a char array/C-string str1 to another char array named str2. The copy should be done character by character. While copying characters, upper-case characters should be converted to lowercase and the lower case input characters to uppercase. Use two pointers to point to the both source and destination strings. Note: you have to do this tasks using pointers

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!