Q4) (18 pts) Given a C-strings s1 which can have up to 80 characters. Write C++ function that takes string s1 and intege
Posted: Tue Jul 05, 2022 10:19 am
Q4) (18 pts) Given a C-strings s1 which can have up to 80 characters. Write C++ function that takes string s1 and integer values L and Pos and then it deletes L characters from s1 starting from the given position pos Note: You cannot use any C-String functions except the length function (if needed) when solving this problem. As an example if s1 contains CMP120FinalExam And we want to delete from s1, L=3 characters starting from position 0, then s1 will have after executing the function 120FinalExam