Never Use gets To Read A Line
gets is a deprecated function which can cause buffer overflows, use fgets insted.
gets is a deprecated function which can cause buffer overflows, use fgets insted.
Let's say we have to process a text file line by line, and we have to make sure that the line we are processing does not end with a newli...