0
How to take input from user to form an integer array?
My aim was to first specify the strength of the array Secondly to enter the integers so they can be appended to my array. But how can get the input to a specific array..like how to specify the address(&nums[r] or just nums[r]).. https://code.sololearn.com/cFvp0vjxmd8q/?ref=app
2 Answers
0
For dynamic allocation in runtime malloc/calloc/realloc should be used.