Question: Modify the read_line function that reads in aline of input skips white space before beginning to store input characters. Also modify the below program reads
Modify the read_line function that reads in aline of input skips white space before beginning to store input characters. Also modify the below program reads in a line of input but stops reading at the first white space character. Please modify both in separate.

int read_line (char *str, int n) int ch, 1-0; while ((ch -getchar )) '') while ( (ch = getchar ( ) ) != n' ) if (i n) *strtt ch; return
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
