Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
After strong configuration i'm sure arrays should be configured as a multi-dimensional array where elements can be accessed via a coordinate tuple of length n (coordinates can only be -1, 0 and 1). You can easily imagine this as a n-dimensional cube that can hold 3^n elements.
And just to fuck with everyone array[0, 0, ..., 0] = array. -
A-C-E57027y6 hours in: being famous is not really too different.....
Maybe it takes a while to sink in... -
Sagi021347yint pointer[10];
2[pointer] = 3;
printf("%d", pointer[2]); // should print 3
The only real way to index -
@Sagi02 if you look at it that way 2 is an giant array :D
(I know how and why this works but it's fun to think the whole program memory is just an array) -
All we talk about arrays is where they start, not why they start... to start or not to start, this is thy question
Related Rants
First algo strikes 'again' for me 😂😂😂
random
algo strikes again