I'm assuming you mean a console program?
You'll have to know the width of the screen, typically is is 80x25, but it can always be different.
You can't do a gotoxy function in pure C, you'll have to read into the O/S dependent libraries for your system (I don't know what that is). If all you want to do is put a character on both sides of the screen, it would be easier to just put one, then put 78 spaces, then put another one.