When using the scanf function, I've been using a format string like scanf("%d",&x);. However, I'm curious about something for few days ago, so I'm asking a question.
What happens when you put a character in the quotation marks of the scanf function?
Example:
printf("Please enter the date you were born: ex.1999/5/6 : ")
scanf("%d/%d/%d", &year, &month, &date);