• 0 Posts
  • 8 Comments
Joined 2 years ago
cake
Cake day: July 27th, 2024

help-circle
  • It was not randomly decided. Even before arrays as a language concept existed, you would just store objects in continuous memory.

    To access you would do $addr+0, $addr+1 etc. The index had to be zero-based or you would simply waste the first address.

    Then in languages like C that just got a little bit of syntactic sugar where the ‘[]’ operator is a shorthand for that offset. An array is still just a memory address (i.e. a pointer).







  • You already got some good replies, but I still have something to add:

    It is extremely unlikely you will permanently brick your laptop. The realistically worst thing to happen is that you end up without any working OS, be it Windows or Linux. If you can get help you will be able to install Windows again (not that hard though to do by yourself).

    Second thing is that Linux installers usually come with a live environment. That means that your windows installation is absolutely safe while Mint runs from your USB. You can then do some browsing or play around with Mint before deciding to install it permanently.