Damiano PeOct 23, 2021Never Use gets To Read A Linegets is a deprecated function which can cause buffer overflows, use fgets insted.
Damiano PeOct 23, 2021How To Remove Trailing Newline Character From fgets InputLet'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 newline