Quantcast
Channel: User HolyBlackCat - Stack Overflow
Viewing all articles
Browse latest Browse all 1287

Comment by HolyBlackCat on Declaration of dynamic array before getting array length

$
0
0
For some reason newbies always assume this will work, but it doesn't. The length of ar is fixed when you create it (and length is uninitialized at that time). The array will not track length and update its length dynamically.

Viewing all articles
Browse latest Browse all 1287

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>