accurate display of size of an 1D array
I have a problem in displaying the size of the array correctly. I know
array size is 256000 but it is displaying as 8 when I enter the loop. size
will be displayed accurately if dynamic allocation is not used. How do I
rectify the bug using dynamic allocation?
No comments:
Post a Comment