hi,
What I want to do, is to print/generate n-size int array like this:
The size of the array should not be hardcoded, it should be set during the program execution.
How could it be solved?
Best Regards
Jack
What I want to do, is to print/generate n-size int array like this:
Code:
int [3] array; 0 0 0 0 0 1 0 0 2 ... 9 9 9
Code:
int [10] array; 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 2 ... 9 9 9 9 9 9 9 9 9 9
How could it be solved?
Best Regards
Jack
Comment