|
-
January 14th, 2014, 11:49 PM
#4
Re: printing 2 arrays with 10 numbers per line
 Originally Posted by howardstark
they are different because in this one i know the how many elements each array has, in the other thread. i dont know hom many elements each array has
Arrays are fixed in size, so you do know how many elements there are. If your array is declared to have 40 elements, then it has 40 elements -- you can't change its size.
but just maximum elements it can hold.
Again, if an array is declared to have 40 elements, then 40 elements is the maximum.
Regards,
Paul McKenzie
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|