This is incorrect because static only specifies that an instance of a variable, or a given function, is static. In the above example, you are not creating an instance of a variable, so you cannot declare it static (because you have nothing to declare).

The same reason applies why you couldn't use 'const' here (or automatic).