The first clrscr() occurs inside a function. So it becomes a function call. In the second clrscr(); is a function declaration (because it is not inside any function).
How scanf will execute?
First it checks for the leading white space and discards it.Then it matches with a quotation mark and then it reads all character upto another quotation mark.