+ 1

How to declare infinite number of elements in an array?

26th Jun 2019, 4:34 PM
Ravi Prakash
Ravi Prakash - avatar
3 Antworten
+ 3
It is not possible because the elements which are declaring needs space. But 'infinity' means the amount greater than which you thinks .So space cannot be specified.
26th Jun 2019, 4:46 PM
Subhransu🤘🏻🤘🏻
Subhransu🤘🏻🤘🏻 - avatar
+ 1
You can't really do that, because there is only a finite amount of space on your computer :/
26th Jun 2019, 4:41 PM
Airree
Airree - avatar