Tony, welcome to the forum!
The great thing about programming is that you can simply print out the answer that you're looking for:
Code:
int number;
printf("Enter an integer: \n");
printf("%d", scanf("%d",&number));
put that into a program and see what you get for the return from scanf(). Now what would the return be from fscanf(), on a file number?
What about a string? A char?, A floating point number?
We're glad to have you here, but also want to encourage that sense of exploration that every professional should have.