My FeedDiscussionsHeadless CMS
New
Sign in
Log inSign up
Learn more about Hashnode Headless CMSHashnode Headless CMS
Collaborate seamlessly with Hashnode Headless CMS for Enterprise.
Upgrade ✨Learn more

A variable decration inside a loop is a dynamic declaration or static one?

Default profile photo
Anonymous
·Mar 7, 2018

while(condition){ Object obj; }

Will each iteration result in creation of new different Object at different memory location or overwrite the once created object each time?