Answer :
Then, press Esc to go back to command mode and type: r output.txt to insert the output of the program at the end of the source code.
In order to copy 10th through 15th lines and paste after the last line in vi editor, one can follow these steps: Open the file using the vi editor.
Then, place the cursor on the first line you want to copy, which is the 10th line. Press Shift to enter visual mode and use the down arrow to highlight the lines you want to copy, which are the 10th to the 15th line.
Compiling a C program named "string's" without getting out of vi editor and also inserting the output of the program at the end of the source code in vi editor can be done by following these steps:
Then, press Esc to go back to command mode and type: r output.txt to insert the output of the program at the end of the source code.
To know more about insert visit:
https://brainly.com/question/8119813
#SPJ11