You need to initlize the variable a with an integer, which means add a value. a as it stands is uninitilized and has no value. You can therefore not use it.
Also please add return 0 at the end of every c main to end the program. There are other ways but this is best practice. It just shows that wenn your program ends with 0, than it ran successfully.