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 (23.79 KiB) Viewed 13 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 2 (23.79 KiB) Viewed 13 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
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!