1. Home
  2. Computing & Technology
  3. C / C++ / C#

Readers Respond: Useful tips from C programmers
Responses: 1

By , About.com Guide

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

Share your Knowledge

Useful tips from C programmers

Receive a one-time notification when your response is published.

Explore C / C++ / C#
About.com Special Features

Holiday Central

What to eat, where to go, fun things to do and how to save money on the perfect gifts. More >

Family Tech Center

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

  1. Home
  2. Computing & Technology
  3. C / C++ / C#
  4. C
  5. How To Do Things in C
  6. C Programming Tips>

©2009 About.com, a part of The New York Times Company.

All rights reserved.