My professor writes his C variable assignments like this:
int a= 10;
int a = 10;
t = 0.5;
You can code in any styles. But you should adhere with K&R style i.e. a = 1; It will improve readability when working with you colleagues.