I'm new to C programming. I write a Basic C code
int t =
int x = 9;
int x = //Finish this instruction in 3 lines instead of one!
Re-written answer after question has been clarified.
Yes, the position of the semi-colon doesn't matter. Whitespace (space, newline, tab) generally don't matter in C. It's not a line-oriented language, where source code must be rigidly structured into lines. There are lines, but they're not very important. Almost always, a newline can be changed into a space (or even removed) without changing the meaning of the code.
These are all equivalent:
int x = 1; int y=1; int z=1 ; int w = 1 ;
You should check out some Obfuscated C entries for how this can be used to creative effect.