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 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
Get step-by-step solutions from verified subject matter experts
