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.41K
Hi, Here I have my code which exactly functions as nl command in unix. How can I replace my buffer using malloc which reads unlimited line length and where as my code reads 100 char per line. [code] #include <stdlib.h> #include <stdio.h> #include <string.h> #include <errno.h> #define MAX_LINE_LENGTH 100 //Prototypes: … |