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.

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

LATEST TUTORIALS
APPROVED BY CLIENTS