why in Keil compiler we define the main as int rather that void ?
int main (void)
rather than ....
void main (void) ,like in C51
Why is all compilers a little bit different?
Maybe because the ARM processor has more RAM and more flash memory? Maybe because the ARM compiler has a different development history? Maybe because someone just took a decision?
There are way more important differences when moving from one embedded environment to another than if main() is declared void or int :)
Please if u know the answer say it, rather than waisting ur time saying rubish......
LOL. Having a bad day?