blinking LED's in series, trying it in c way

Danois90:
You should not use "main()" on an arduino..

You can, although I can see no advantage in this case. If you do though, you need to call init() to setup the hardware before you start trying to use it. Might explain the behavior the OP is seeing.