I wanted to know if it is possible to print all the values in an array. For example I have an array size of 50. But not all 50 are used. Lets say I just have 1 value stored in that array at index 1. So I want to just print that value. The problem is the other "slots" have weird values such as -858993460. Thanks for any help!
Question
saiz66
I wanted to know if it is possible to print all the values in an array. For example I have an array size of 50. But not all 50 are used. Lets say I just have 1 value stored in that array at index 1. So I want to just print that value. The problem is the other "slots" have weird values such as -858993460. Thanks for any help!
Link to comment
Share on other sites
26 answers to this question
Recommended Posts