Page 1 of 1

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
by answerhappygod
Q4 18 Pts Given A C Strings S1 Which Can Have Up To 80 Characters Write C Function That Takes String S1 And Intege 1
Q4 18 Pts Given A C Strings S1 Which Can Have Up To 80 Characters Write C Function That Takes String S1 And Intege 1 (18.95 KiB) Viewed 10 times
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