This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Declaring automatic variables inside a while loop



By the way, in your example, you are setting the loop iterator (i) to an uninitialized local (j) which isn't going to work.

Well, it's going to "work", if you don't care what the actual behaviour is - ie., if the code hangs at random executions...


.fw.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]