Having come to C programming (PIC and XC16) from assembly and previously basic, it is easy to have possible "bad" habits when laying out code in the editor, my question relates to having the sequence of code 'areas' , ie definitions , includes , main , functions , etc does it matter , this occurred to me as my C book said , C does not need and END statement , as it uses the last brace in main(); ... all my stuff has main is at the start before the functions.