Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #107.84K
1 Posted Topic
[code]#include <stdio.h>#include <string.h> char *mygetline(char *line, int size){ if ( fgets(line, size, stdin) ) { char *newline = strchr(line, '\n'); /* check for trailing '\n' */ if ( newline ) { *newline = '\0'; /* overwrite the '\n' with a terminating null */ } } return line;} int main(void){ char …
The End.
kedhar