Question #20033

76-8. When instantiating an array, you can assign the number of elements in the array dynamically, using a variable (as opposed to using a constant). What situation will that be useful? and why?

Expert's answer

It's more useful to use dynamic variable for instantiating anarray.
if your array size depends on some calculations ofcourse you should better use variable in contrast to using constants.
LATEST TUTORIALS
APPROVED BY CLIENTS