What is the difference between the following declarations in C?
static int foo(){}
int static foo(){}
As I understand the first format is used and subscribed in text books while the second nonetheless seems to work as well. Are the declarations equivalent?