From the article: C Programming Quick Tips
Once you've learnt a programming language and become more experienced with it, you'll discover handy tips. How useful would it be if you shared your tips with others? Share your Knowledge
Declare even at end - gcc compiler
- int main(){ int i=0; i ; printf("i val is %d\n",i); int j=0; j ; printf("j val is %d\n",j); int k=0; printf("k val is %d\n",k); return 0; } It is completely valid to declare at any place you want.
- —Guest Kumaru

