I\'m trying to figure out how user input can be used as a filename in C. Here\'s the simple program I wrote.
#include #define MAX 100 int main()
fgets retains the newline in the input.
fgets