Forget to add variables before using scanf function &

scanf("%d%d%d",year,month,date);

After less & forget before the year, month, date, the program will run no output, there will be debugging "Program received signal SIGSEGV, Segmentation fault." Error:

Guess you like

Origin www.cnblogs.com/arthur-f/p/11448206.html