#include #define MAXLINE 1000 /* maximum input line length */ /* ggetline: read a line into 'line', return length */ int ggetline(char line[], int maxline){ int c, i; for (i=0; (c=getchar()) != EOF && c!='\n'; i++){ if(i0){ copy(longline, line); printf("%s\n", longline); } return 0; }