I want to create an array at run time. I am not sure about its size when coding. I take an input from user through console and then want to create the array of that size.
In the example above, I mentioned the size which is fine. I just want to know if size can be given later?Code:
int array = new int ;
Is this possible? How?