Question: Q3. Strings and Files a) Write a C++ program to take an input string strl from the user, then print it to the file (my_file).

 Q3. Strings and Files a) Write a C++ program to take

Q3. Strings and Files a) Write a C++ program to take an input string strl from the user, then print it to the file (my_file). The string message should be "We are BSEI-B (2020-2024) b) Now take another array of characters, str2, and put the stri in it Now calculate the length of the string strl and str2 and print the output to the console Name Roll No. c) Please concatenate the strl. str2 and put the concatenated string in str3, calculate the string length of str3 and [4 +3+3 Marks]

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!