Hi all, <br><br>0.I read that ANSI C rules for variable declaration says that one must declare the variables at the beginning of any scope block.<br> C99 onwards we are allowed to declare variables as & how required.<br>
<br>1.NOW, my doubt is what happens in the actual "practical/real-world" codes that are written in industry. <br><b>Do everyone *strictly* follow the ANSI C rules & declare the variables at the beginning of the scope ? </b><br>
<br>2.Also , why are we still following that old rule ? <b>Is it so that old codes of 70s can be used with new codes ?</b><br><br>3.There must be some standard that all of us need to follow , so what are they ? <br>This point is very crucial for free & open-source projects , where people all around world write codes.<br>
<br><b>Can any one redirect me to some links/tutorials for the same ?</b><br><br>Regards,<br>free4freedom<br><br><br>