- 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 8 times
Q4) (18 pts) Given a C-strings s1 which can have up to 80 characters. Write C++ function that takes string s1 and intege
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
Q4) (18 pts) Given a C-strings s1 which can have up to 80 characters. Write C++ function that takes string s1 and intege
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