Beyler Bu Program Ne ise Yariyo Tam Olarak ??? #include <stdio.h> #include <string.h> #define MAXLINE 1000 int getline(char[], int ); void copy(char to[], char []); int trim(char[]); int main() { int len, max=0; char line[MAXLINE], longest[MAXLINE]; while((len=getline(line, MAXLINE))>0) if(len>max){ max=len, copy(longest, line); } if(max>0) printf("%s", longest); return 0; } int getline(char s[], int lim) { int c, i; for(i=0; i<=lim-1 && (c=getchar()) != EOF && c != '\n'; ++i) s=c; if(c=='\n'){ s=c; ++i; } s='\0'; return i; } void copy(char to[], char from[]) { int i; i=0; while((to=from) != '\0') ++i; } int trim(char s[]) // remove trailing blanks and tabs { int n; for(n=strlen(s)-1; n>=0; n--) if(s[n] != ' ' && s[n] != '\t' && s[n] != '\n') break ; s[n+1]='\0'; return n; }