Predict the output of the following program.
(D) Compilation error
delete(x, y) function deletes the elements from the string at position ‘x’ to position ‘y-1’.
append() function concatenates the second string to the first string.
Quiz of this Question
Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready.