Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uflorida!stat!vsserv!prism!dvu From: dvu@prism.gatech.EDU (Dinh Vu) Newsgroups: comp.lang.c Subject: Declaration within a loop. Message-ID: <2085@hydra.gatech.EDU> Date: 27 Sep 89 04:33:30 GMT Distribution: usa Organization: Georgia Institute of Technology Lines: 20 Declaration within a loop: ------------------------- do { int i; ........ ; ........ ; ........ ; } while (1); Is it true that every time through the loop, a new i variable is declared (more memory allocated ??)? Or the same i variable is reused... I see something similiar to this in the GNU 'make' source code. Also, if I run the code above long enough, will it take all memory. Thanks. Dinh Vu